diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index e555d5ce..3b032c23 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -2,13 +2,13 @@ {{ $description := $page.Description }} {{ $limit := site.Config.Services.RSS.Limit }} -{{ $pages := (cond $page.IsHome site $page).RegularPages }} +{{ $subpages := (cond $page.IsHome site $page).RegularPages }} {{ $title := partial "paige/title.html" $page }} -{{ $pages = where $pages "Params.paige.feed.hide_page" "ne" true }} +{{ $subpages = where $subpages "Params.paige.feed.hide_page" "ne" true }} {{ if ge $limit 0 }} - {{ $pages = $pages | first $limit }} + {{ $subpages = $subpages | first $limit }} {{ end }} {{ printf "" | safeHTML }} @@ -39,7 +39,7 @@ {{ . }} {{ end }} {{ $guids := dict }} - {{ range $subpage := $pages }} + {{ range $subpage := $subpages }} {{ $title := .Title | markdownify | plainify }} {{ with partial "paige/authors.html" . }}