Lister les pages par date descendante sur section.
This commit is contained in:
1 parent
2af4d45cad
commit
bb76c85987
1 file changed
+1
-1
@@ -1,7 +1,7 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
{{ range .Pages }}
|
||||
{{ range .Pages.ByDate.Reverse }}
|
||||
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in new issue
Block a user