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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@
{{ end }} {{ end }}
{{/* Get content pages from news section. */}} {{/* Get content pages from news section. */}}
{{ range where site.RegularPages "Type" "news" }} {{ range .Pages }}
{{ $ctx := dict {{ $ctx := dict
"Date" .Date "Date" .Date
"Title" .Title "Title" .Title