diff --git a/layouts/_default/list.rss.xml b/layouts/_default/list.rss.xml index c47736b0..d04a68ac 100644 --- a/layouts/_default/list.rss.xml +++ b/layouts/_default/list.rss.xml @@ -2,7 +2,7 @@ {{ $copyright := site.Copyright }} {{ $description := or $page.Description "Recent content" }} -{{ $feed := replaceRE `/atom\.xml$` `/rss.xml` $page.Permalink }} +{{ $feed := ($page.OutputFormats.Get "rss").Permalink }} {{ $format := "Mon, 02 Jan 2006 15:04:05 MST" }} {{ $guids := dict }} {{ $html := $page.AlternativeOutputFormats.Get "html" }}