From 7a2aa2d1a9f5e1951cf7977e662888af4db33da9 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Tue, 23 Nov 2021 10:45:14 +0100 Subject: [PATCH] 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 --- layouts/index.html | 6 +++--- layouts/partials/perso.html | 4 ++++ layouts/partials/pro.html | 4 ---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index a7e0add..baf93d7 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,13 +1,13 @@ {{ define "main" }} {{.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 }} diff --git a/layouts/partials/perso.html b/layouts/partials/perso.html index 0f65eeb..10c8765 100644 --- a/layouts/partials/perso.html +++ b/layouts/partials/perso.html @@ -28,4 +28,8 @@
XMPP/jabber
{{ . }}
{{ end }} + {{ with .Site.Params.contactsPriv.cv}} +
CV
+
{{ . }}
+ {{end}} diff --git a/layouts/partials/pro.html b/layouts/partials/pro.html index 937bed9..b54142d 100644 --- a/layouts/partials/pro.html +++ b/layouts/partials/pro.html @@ -24,8 +24,4 @@
Empreinte
{{ . }}
{{end}} - {{ with .Site.Params.contactsPro.cv}} -
CV
-
{{ . }}
- {{end}}