summaryrefslogtreecommitdiff
path: root/layouts/_default/rss.xml
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/rss.xml')
-rw-r--r--layouts/_default/rss.xml2
1 files changed, 1 insertions, 1 deletions
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 -}}