Amélioration de l'affichage d'informations annexes.

This commit is contained in:
2026-03-24 22:57:27 +01:00
parent a5beddc718
commit 9c3e2cb045
3 changed files with 18 additions and 1 deletions
+3
View File
@@ -1,6 +1,9 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
<p id="publication-information">Publié le {{ .PublishDate }}
{{ with or (.Param "author") (.Site.Param "author") }}{{ . }}{{ end }}</p>
{{/* 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}}