mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 18:34:48 -04:00
Simplify news listing
This commit is contained in:
parent
fadb980db3
commit
4cd505612e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user