summaryrefslogtreecommitdiff
path: root/layouts/index.gemini_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
commit29cd52d7e7376464ec49a9d7ceacd0b4ef97511b51ee222f5a31441db7594f12 (patch)
tree0e80309254a34286772dea090f10e88748b68873f890e1d6f0659d3046b3c354 /layouts/index.gemini_atom.xml
parenta0515d10ebf17708495d1cd209bf5303427b4d5e6d1a7c1135e2083739c14c31 (diff)
downloadhugo-theme-journal-29cd52d7e7376464ec49a9d7ceacd0b4ef97511b51ee222f5a31441db7594f12.tar.gz
hugo-theme-journal-29cd52d7e7376464ec49a9d7ceacd0b4ef97511b51ee222f5a31441db7594f12.zip
Escape HTML content in Atom feed
Diffstat (limited to 'layouts/index.gemini_atom.xml')
-rw-r--r--layouts/index.gemini_atom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.gemini_atom.xml b/layouts/index.gemini_atom.xml
index 0510e05..7d9cba9 100644
--- a/layouts/index.gemini_atom.xml
+++ b/layouts/index.gemini_atom.xml
@@ -1,4 +1,4 @@
-{{ printf "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" | safeHTML }}
+{{ "<?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>