Reading Friendly RSS Config in Hugo

Background

Hugo has RSS support by default. But the implementation is not friendly for reading in RSS subscriber. If we open the RSS page we will see that the content in <description> are summary with plaintext.

summary-without-html-tags

Solution

If we want to show full content in our RSS pages, we need to override the RSS template. Copy the default rss template and save it in the local file layouts/_default/rss.xml. Then, find out the .Summary in <description> and replace it into .Content. The RSS page shows full content in description with HTML style.

image-20200614110430952

References