nunocoracao / blowfish

Personal Website & Blog Theme for Hugo
https://blowfish.page
MIT License
1.54k stars 421 forks source link

fix: exclude pages with "xml" = false or "externalUrl". #1787

Closed fuse314 closed 2 weeks ago

fuse314 commented 1 month ago

Pages that include the "xml" = false attribute are excluded from the XML-Sitemap, but they still appeared in the RSS-feed. Pages that include a externalUrl that starts with http:// or https:// are excluded from the XML-Sitemap, but they still appeared in the RSS-feed.

This PR implements the same filters used in sitemap.xml in the RSS-feed template.

nunocoracao commented 2 weeks ago

Sorry @fuse314 closing this one. In my case, for example, I do want external links to popup in RSS feed and exclude them from the sitemap.