summaryrefslogtreecommitdiff
path: root/layouts/_default/rss.xml
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-03-11 21:47:48 +0100
committermms <michal@sapka.me>2024-03-11 21:47:48 +0100
commitefb36ed918be30a77351b9a67741bca520f90f1a (patch)
treed4b8bd3c761107dd5c337ae6fcb3c59d48987622 /layouts/_default/rss.xml
parenta455e66c0636a17cc57ea4d1f36b6407c96e8dd4 (diff)
feat: full content in rss
Diffstat (limited to 'layouts/_default/rss.xml')
-rw-r--r--layouts/_default/rss.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
index 64d638a..6e6480b 100644
--- a/layouts/_default/rss.xml
+++ b/layouts/_default/rss.xml
@@ -63,8 +63,8 @@
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{- with $authorEmail }}<author>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</author>{{ end }}
- <guid>{{ .Permalink }}</guid>
- <description>{{ .Summary | transform.XMLEscape | safeHTML }}</description>
+ <guid>{{ .Permalink }}</guid>j
+ <description>{{ safeHTML "<![CDATA[" }}{{ replace .Content "\n\n" "\n" | safeHTML }}<p style="font-style:italic">Comment via <a href="https://michal.sapka.me/me/contact/">email</a></p>]]></description>
</item>
{{- end }}
</channel>