Lister les pages par date descendante sur section.

This commit is contained in:
2026-02-13 19:17:16 +01:00
committed by Alexis Lahouze
parent 2af4d45cad
commit bb76c85987
+1 -1
View File
@@ -1,7 +1,7 @@
{{ define "main" }} {{ define "main" }}
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
{{ .Content }} {{ .Content }}
{{ range .Pages }} {{ range .Pages.ByDate.Reverse }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2> <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }} {{ end }}
{{ end }} {{ end }}