aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/index.atom.xml4
-rw-r--r--layouts/index.gemini_atom.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml
index ecda6f8..8575042 100644
--- a/layouts/index.atom.xml
+++ b/layouts/index.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>{{ .Permalink }}</id>
<title>{{ .Site.Title }}</title>
@@ -17,6 +17,6 @@
<title type="html">{{ .Title }}></title>
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
<link href="{{ .Permalink }}">
- <content type="html">{{ .Content }}</content>
+ <content type="html">{{ .Content | html }}</content>
</entry>{{ end }}
</feed>
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>