diff --git a/layouts/rss.xml b/layouts/rss.xml index 249f47a..773e5d6 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -6,7 +6,7 @@ Citra Copyright (c) 2017, Citra; all rights reserved. {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }} - {{ range where .Data.Pages "Section" "entry" }} + {{ range where .Site.RegularPages "Section" "entry" }} {{ .Title }} {{ .Permalink }} @@ -18,4 +18,3 @@ {{ end }} - diff --git a/layouts/sitemap.xml b/layouts/sitemap.xml index ecde457..e00db85 100644 --- a/layouts/sitemap.xml +++ b/layouts/sitemap.xml @@ -1,5 +1,5 @@ - {{ range .Data.Pages }} + {{ range .Site.RegularPages }} {{ if (eq .IsPage true) }} {{ $rating := index .Site.Data.compatibility ( string .Params.compatibility | default "0" ) }} @@ -23,4 +23,3 @@ {{ end }} {{ end }} -