diff options
author | Daniel Saunders <daniel.saunders@gmail.com> | 2021-04-15 02:14:30 +0300 |
---|---|---|
committer | Daniel Saunders <daniel.saunders@gmail.com> | 2021-04-15 02:14:30 +0300 |
commit | 07101a1b966897ff10cb9143bc02026feb7136a8 (patch) | |
tree | c1b99d6d5614f21e56920eaef0b21224f8cfa3fe | |
parent | fc46b9500b3ae5be0dce0c61a64a7ff5f7e6e761 (diff) |
Stopping hugo from mangling first line - https://discourse.gohugo.io/t/cant-get-sitemap-xml-file-to-work/31996/3
-rw-r--r-- | layouts/sermons/sermons.rss.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/sermons/sermons.rss.xml b/layouts/sermons/sermons.rss.xml index 8eb827c..75b3e9f 100644 --- a/layouts/sermons/sermons.rss.xml +++ b/layouts/sermons/sermons.rss.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="UTF-8"?> +{{ print "<?xml version=\"1.0\" encoding=\"utf-8\"?>" | safeHTML }} <rss version="2.0" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" @@ -63,6 +63,6 @@ </itunes:keywords> {{- end -}} </item> - {{ end }} + {{- end -}} </channel> </rss> |