diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5f8e2ec..c4963da 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,9 +3,7 @@ {{- partial "head.html" . -}} {{- partial "header.html" . -}} -
{{- block "main" . }}{{- end }} -
{{- partial "footer.html" . -}} diff --git a/layouts/index.html b/layouts/index.html index e69de29..b149f82 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -0,0 +1,15 @@ +{{ define "main" }} +
+ {{if not .Site.Params.contactsPriv.hide }} + {{ partial "perso" .}} + {{ end }} + {{if not .Site.Params.contactsPro.hide }} + {{ partial "pro" . }} + {{ end }} + + {{.Content}} + {{ if not .Site.Params.online }} + {{ partial "online" }} + {{ end }} +
+{{ end }} diff --git a/layouts/partials/online.html b/layouts/partials/online.html new file mode 100644 index 0000000..28c7a3d --- /dev/null +++ b/layouts/partials/online.html @@ -0,0 +1 @@ +

Online

diff --git a/layouts/partials/perso.html b/layouts/partials/perso.html new file mode 100644 index 0000000..90c6f16 --- /dev/null +++ b/layouts/partials/perso.html @@ -0,0 +1,14 @@ + diff --git a/layouts/partials/pro.html b/layouts/partials/pro.html new file mode 100644 index 0000000..1aa05cc --- /dev/null +++ b/layouts/partials/pro.html @@ -0,0 +1,23 @@ +