summaryrefslogtreecommitdiff
path: root/layouts
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
parent2ac67528156e58f77fcd665b366bc4e44060ebbd1eaf383a97c193b30c93e72a (diff)
Fix XML version string
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.atom.xml2
-rw-r--r--layouts/index.gemini_atom.xml2
2 files changed, 2 insertions, 2 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>
diff --git a/layouts/index.gemini_atom.xml b/layouts/index.gemini_atom.xml
index 3c04d35..0510e05 100644
--- a/layouts/index.gemini_atom.xml
+++ b/layouts/index.gemini_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>{{ replace .Permalink "https://" "gemini://" }}</id>
<title>{{ .Site.Title }}</title>