aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>