diff --git a/themes/chosto/layouts/_default/single.html b/themes/chosto/layouts/_default/single.html index 58531c6..038bfc0 100644 --- a/themes/chosto/layouts/_default/single.html +++ b/themes/chosto/layouts/_default/single.html @@ -1,7 +1,7 @@ {{ define "main" }}
@@ -27,13 +27,25 @@
+ + {{ if (and .IsPage (eq .FirstSection.Section "posts"))}} + {{ with .CurrentSection }} + {{ if .Params.Title }} +
+
+ Le post que vous lisez fait partie du dossier « {{ .Params.Title }} ». Le menu sur la gauche permet de naviguer entre ses billets. Bonne lecture ! 😄 +
+
+ {{ end }} + {{ end }} + {{ end }} {{ with .Params.imgExplanation }} -
+
{{ . }}
-
+
{{ end }} {{ with .Params.intro | markdownify | safeHTML }}