diff --git a/layouts/page.html b/layouts/page.html index aa1ea43..e808824 100644 --- a/layouts/page.html +++ b/layouts/page.html @@ -7,16 +7,16 @@ {{ with or (.Param "author") (.Site.Param "author") }}{{ . }}{{ end }}
- {{ with .ReadingTime }} -Temps de lecture estimé : {{ . }} minute(s).
- {{ end }} + {{ with .ReadingTime }} +Temps de lecture estimé : {{ . }} minute(s).
+ {{ end }} -{{/* Pourquoi 32, bah pourquoi pas ? */}} -{{/* Non, en vrai ça semble être le taille d'une table des matières vide.*/}} -{{ if gt (len .TableOfContents) 32}} -Table des matières :
- {{ .TableOfContents }} -{{ end }} + {{/* Pourquoi 32, bah pourquoi pas ? */}} + {{/* Non, en vrai ça semble être le taille d'une table des matières vide.*/}} + {{ if gt (len .TableOfContents) 32}} +Table des matières :
+ {{ .TableOfContents }} + {{ end }} {{ .Content }} {{ end }}