adityatelange / hugo-PaperMod

A fast, clean, responsive Hugo theme.
https://adityatelange.github.io/hugo-PaperMod/
MIT License
9.9k stars 2.69k forks source link

[BUG] ShowFullTextInRSS creates invalid RSS feed #1385

Closed schroedingersZombie closed 9 months ago

schroedingersZombie commented 10 months ago

Describe the bug Commit #00488d0 introduces an error, when site.params.showFullTextInRSS is st to true.

It removes the xmlns:content="http://purl.org/rss/1.0/modules/content/" attribute in the rss tag. This is required for the tag containing the full text.

Steps to reproduce the behavior: insert

params:
  showFullTextInRss: true

into hugo.yaml. Paste https://yoursite.net/index.xml into https://validator.w3.org/feed/check.cgi image

Expected behavior: RSS feed validates successfully.

Edit: just noticed, I forgot to type a title

Yuk-0v0 commented 9 months ago

same problem

vindex10 commented 9 months ago

Hi! This PR fixes the problem, although it also brings a feature :upside_down_face:

https://github.com/adityatelange/hugo-PaperMod/pull/1370

schroedingersZombie commented 9 months ago

Thank you very much! :)