diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 56f11a9..5a6386f 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -2,7 +2,7 @@ {{- if .IsHome -}}{{ $pctx = site }}{{- end -}} {{- $pages := slice -}} {{- if or $.IsHome $.IsSection -}} -{{- $pages = $pctx.RegularPages -}} +{{- $pages = where $pctx.RegularPages "Type" "in" site.Params.mainSections }} {{- else -}} {{- $pages = $pctx.Pages -}} {{- end -}}