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