Hales fixes my RSS
InternetLast week I wrote about Hugo 0.58 breaking pagination on some of the sites I maintain, including this one. Long-time contributor Hales of Halestrom fame was the first to spot my RSS feeds were also broken:
Three empty articles, two of which born on January 1st. Your feed doesn’t normally look like this :)
This is the Hugo loop in my rss.xml
template:
{{ range first 10 .Data.Pages }}
The documentation now says this, which works:
{{ range .Pages }}
Hugo does a great job of generating high-quality RSS feeds by default without any manual work, but I like to create my own for some custom namespaces and better podcast support.