homepage: move the CV file to the personal data
* Moves the CV file from the professional data to the personal data, as the CV is related to the person, not the job position. * This also prepare the creation of a dedicated CV page. Co-Authored-by: iGor milhit <igor@milhit.ch>pull/37/head
parent
897b8e6ecf
commit
7a2aa2d1a9
|
@ -1,13 +1,13 @@
|
|||
{{ define "main" }}
|
||||
<!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md -->
|
||||
{{.Content}}
|
||||
{{ if not .Site.Params.online.hide }}
|
||||
{{ if .Site.Params.online }}
|
||||
{{ partial "online" . }}
|
||||
{{ end }}
|
||||
{{if not .Site.Params.contactsPriv.hide }}
|
||||
{{ if .Site.Params.contactsPriv }}
|
||||
{{ partial "perso" .}}
|
||||
{{ end }}
|
||||
{{if not .Site.Params.contactsPro.hide }}
|
||||
{{ if .Site.Params.contactsPro }}
|
||||
{{ partial "pro" . }}
|
||||
{{ end }}
|
||||
</main>
|
||||
|
|
|
@ -28,4 +28,8 @@
|
|||
<dt>XMPP/jabber</dt>
|
||||
<dd>{{ . }}</dd>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.contactsPriv.cv}}
|
||||
<dt>CV</dt>
|
||||
<dd><a href="/{{ . }}">{{ . }}</a></dd>
|
||||
{{end}}
|
||||
</dl>
|
||||
|
|
|
@ -24,8 +24,4 @@
|
|||
<dt>Empreinte</dt>
|
||||
<dd><code>{{ . }}</code></dd>
|
||||
{{end}}
|
||||
{{ with .Site.Params.contactsPro.cv}}
|
||||
<dt>CV</dt>
|
||||
<dd><a href="/{{ . }}">{{ . }}</a></dd>
|
||||
{{end}}
|
||||
</dl>
|
||||
|
|
Loading…
Reference in New Issue