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>
dev
iGor milhit 2021-11-23 10:45:14 +01:00
parent 897b8e6ecf
commit 7a2aa2d1a9
No known key found for this signature in database
GPG Key ID: 3B5043D919E99ED2
3 changed files with 7 additions and 7 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>