aboutsummaryrefslogtreecommitdiff
path: root/layouts/home.atom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/home.atom.xml')
-rw-r--r--layouts/home.atom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/home.atom.xml b/layouts/home.atom.xml
index e036404..923e3cb 100644
--- a/layouts/home.atom.xml
+++ b/layouts/home.atom.xml
@@ -21,7 +21,7 @@
{{- end }}
{{- end -}}
-{{- $pages := .Site.RegularPages }}
+{{- $pages := where .Site.RegularPages "Section" "entry" }}
{{- $limit := .Site.Config.Services.RSS.Limit }}
{{- if ge $limit 1 }}
{{- $pages = first $limit $pages }}