From 4cd505612ed86cd19a232103082472d099b0718d Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Sun, 13 Aug 2023 15:10:25 -0700 Subject: [PATCH] Simplify news listing --- layouts/news/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/news/list.html b/layouts/news/list.html index 45a47a523..32f72a446 100644 --- a/layouts/news/list.html +++ b/layouts/news/list.html @@ -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