Order page group pages by publish date desc

This commit is contained in:
Will Faught
2024-06-04 21:44:44 -07:00
parent 27b526e989
commit 05a972cc6e

View File

@@ -73,7 +73,7 @@
<h3 class="h5 paige-date-header text-center">{{ .Key }}</h3>
{{ end }}
{{ range .Pages.ByWeight }}
{{ range .Pages.ByPublishDate.Reverse }}
{{ partial "paige/page.html" . }}
{{ end }}
{{ end }}