diff options
author | mms <michal@sapka.me> | 2024-03-11 21:47:48 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-03-11 21:47:48 +0100 |
commit | efb36ed918be30a77351b9a67741bca520f90f1a (patch) | |
tree | d4b8bd3c761107dd5c337ae6fcb3c59d48987622 /layouts/_default/rss.xml | |
parent | a455e66c0636a17cc57ea4d1f36b6407c96e8dd4 (diff) |
feat: full content in rss
Diffstat (limited to 'layouts/_default/rss.xml')
-rw-r--r-- | layouts/_default/rss.xml | 4 |
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> |