mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 14:17:43 +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 }}
|
||||
|
||||
{{/* Get content pages from news section. */}}
|
||||
{{ range where site.RegularPages "Type" "news" }}
|
||||
{{ range .Pages }}
|
||||
{{ $ctx := dict
|
||||
"Date" .Date
|
||||
"Title" .Title
|
||||
|
||||
Reference in new issue
Block a user