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
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" }} {{ define "main" }}
<!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md --> <!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md -->
{{.Content}} {{.Content}}
{{ if not .Site.Params.online.hide }} {{ if .Site.Params.online }}
{{ partial "online" . }} {{ partial "online" . }}
{{ end }} {{ end }}
{{if not .Site.Params.contactsPriv.hide }} {{ if .Site.Params.contactsPriv }}
{{ partial "perso" .}} {{ partial "perso" .}}
{{ end }} {{ end }}
{{if not .Site.Params.contactsPro.hide }} {{ if .Site.Params.contactsPro }}
{{ partial "pro" . }} {{ partial "pro" . }}
{{ end }} {{ end }}
</main> </main>

View File

@ -28,4 +28,8 @@
<dt>XMPP/jabber</dt> <dt>XMPP/jabber</dt>
<dd>{{ . }}</dd> <dd>{{ . }}</dd>
{{ end }} {{ end }}
{{ with .Site.Params.contactsPriv.cv}}
<dt>CV</dt>
<dd><a href="/{{ . }}">{{ . }}</a></dd>
{{end}}
</dl> </dl>

View File

@ -24,8 +24,4 @@
<dt>Empreinte</dt> <dt>Empreinte</dt>
<dd><code>{{ . }}</code></dd> <dd><code>{{ . }}</code></dd>
{{end}} {{end}}
{{ with .Site.Params.contactsPro.cv}}
<dt>CV</dt>
<dd><a href="/{{ . }}">{{ . }}</a></dd>
{{end}}
</dl> </dl>