Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/funkydan2/alpha-church.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Saunders <daniel.saunders@gmail.com>2021-04-15 02:14:30 +0300
committerDaniel Saunders <daniel.saunders@gmail.com>2021-04-15 02:14:30 +0300
commit07101a1b966897ff10cb9143bc02026feb7136a8 (patch)
treec1b99d6d5614f21e56920eaef0b21224f8cfa3fe
parentfc46b9500b3ae5be0dce0c61a64a7ff5f7e6e761 (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.xml4
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>