mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 16:17:21 +00:00
Simplify news listing
This commit is contained in:
1 parent
fadb980db3
commit
4cd505612e
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user