Simplify news listing

This commit is contained in:
Joe Mooring
2023-08-13 15:10:25 -07:00
committed by GitHub
parent fadb980db3
commit 4cd505612e
+1 -1
View File
@@ -33,7 +33,7 @@
{{ end }}
{{/* Get content pages from news section. */}}
{{ range where site.RegularPages "Type" "news" }}
{{ range .Pages }}
{{ $ctx := dict
"Date" .Date
"Title" .Title