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

This commit is contained in:
alahouze committed 2026-03-24 22:57:27 +01:00
1 parent a5beddc718
commit 9c3e2cb045
3 files changed
+18 -1

No files matched your search

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