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