summaryrefslogtreecommitdiff
path: root/layouts/index.atom.xml
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicksphere.ch>2022-04-30 00:00:00 +0000
committerNicholas Johnson <nick@nicksphere.ch>2022-04-30 00:00:00 +0000
commita0515d10ebf17708495d1cd209bf5303427b4d5e6d1a7c1135e2083739c14c31 (patch)
tree472afdaa3a726ae5e8b9eee3edb747fe9d26c5ce5991e79a770f14c9b8648f19 /layouts/index.atom.xml
parent2ac67528156e58f77fcd665b366bc4e44060ebbd1eaf383a97c193b30c93e72a (diff)
downloadhugo-theme-journal-a0515d10ebf17708495d1cd209bf5303427b4d5e6d1a7c1135e2083739c14c31.tar.gz
hugo-theme-journal-a0515d10ebf17708495d1cd209bf5303427b4d5e6d1a7c1135e2083739c14c31.zip
Fix XML version string
Diffstat (limited to 'layouts/index.atom.xml')
-rw-r--r--layouts/index.atom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml
index 2f89537..ecda6f8 100644
--- a/layouts/index.atom.xml
+++ b/layouts/index.atom.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+{{ printf "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" | safeHTML }}
<feed xmlns="http://www.w3.org/2005/Atom">
<id>{{ .Permalink }}</id>
<title>{{ .Site.Title }}</title>