Full-text RSS feed

Here is what I did —

I created a template in /layouts/rss.xml based off of the one provided in the Hugo docs: https://gohugo.io/templates/rss/#the-embedded-rss-xml

In that template, I added <content:encoded> below the

<description>{{ .Summary | safeHTML }}</description>
<content:encoded>{{ .Content | safeHTML }}</content:encoded>

I also added safeHTML to description (not in the docs)

Now I am trying to get the content to render without getting caught up on a the encoded special chars in posts
trying <content:encoded><![CDATA[{{ .Content | safeHTML }}]]></content:encoded>

1 Like