Fix RSS feed permalink

master
Will Faught 2 years ago
parent 2b8a86f2a7
commit 7f5993f8a3

@ -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" }}

Loading…
Cancel
Save