Hugo RSS Feeds

One thing about Hugo that I’m not in love with so far is its default RSS feed handling, which admittedly I most likely don’t fully understand. What I want from my site is specific feeds for specific things, and nothing more. That might sound controlling, but it’s not about that so much as it’s about clarity and organization.

For example, Hugo by default makes an RSS feed for all new content on the site. That means if I create a Contact page or an About page or a Projects page, it gets added into my RSS feed, which seems really stupid it me. Generally people want RSS to follow blog posts or specific topics. That’s what I want too.

In addition to this overall, way too comprehensive feed, Hugo loves to create feeds for every item in every taxonomy type. I don’t want to be rude to whoever decided this was a great idea, but does it really seem likely that anyone wants to follow an RSS feed for tags used in blog posts?1

Secondly, I don’t like the default “index.xml” naming nomenclature. Just give me feed.xml or rss.xml like everyone else in the universe.

I realize that I can create my own RSS templates, and this is something that I am working on. What I also would like is to override the default Hugo feed creation entirely, which is something I don’t know how to do. When people punch into an RSS feed finder like all decent modern RSS feed aggregating services have, I don’t have them to have to figure out which feed from a list of 20 they want.

As much as I like Hugo, this is one area where I’d love to ask the people involved what exactly they were thinking when they came up with their feed generation scheme.

  1. If there really are people who do, I’m not sure I want them reading my site to begin with. ↩︎