diff --git a/layouts/index.rss.xml b/layouts/index.rss.xml index 40bca59eb..26afc1816 100644 --- a/layouts/index.rss.xml +++ b/layouts/index.rss.xml @@ -38,7 +38,7 @@ {{- end }} {{- /* Get content pages from news section. */}} - {{- range .Pages }} + {{- range where site.RegularPages "Section" "news" }} {{- $ctx := dict "PublishDate" .PublishDate "Title" .Title