aboutsummaryrefslogtreecommitdiff
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
commitdc79bc325e6d71dd9dcbd48c78dbf57b5fb01bda3f04a95b92a6c6ab54d9a0ec (patch)
treec25c1f1c6c9dae0702b652ec6b839643b6184d76baa2bc9999b13f3587f98e9f /layouts
parent577f499815fe125e7f1d5c7bb905341047ff93212312bc00f14c4326dfa91621 (diff)
downloadhugo-theme-journal-dc79bc325e6d71dd9dcbd48c78dbf57b5fb01bda3f04a95b92a6c6ab54d9a0ec.tar.gz
hugo-theme-journal-dc79bc325e6d71dd9dcbd48c78dbf57b5fb01bda3f04a95b92a6c6ab54d9a0ec.zip
Remove CDATA from Atom feed
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.atom.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml
index ecca11a..7c9359f 100644
--- a/layouts/index.atom.xml
+++ b/layouts/index.atom.xml
@@ -11,12 +11,12 @@
</author>
<generator>Hugo -- gohugo.io</generator>{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }}
<entry>
- {{ `<title type="html"><![CDATA[` | safeHTML }}{{ .Title }}]]></title>
+ {{ `<title type="html">{{ .Title }}]]></title>
<link href="{{ .Permalink }}"/>
<id>{{ .Permalink }}</id>
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
{{- if .Content }}
- {{ `<content type="html"><![CDATA[` | safeHTML }}{{ .Content }}]]></content>
+ {{ `<content type="html"><{{ .Content }}</content>
{{- end }}
</entry>{{ end }}
</feed>