Creating a single-purpose RSS feed
I have an existing site with an RSS feed at /index.xml for blog posts, which I don’t want to change. I want to create a couple of new RSS feeds for specific purposes: The first is the same posts as...
View ArticleCreating a single-purpose RSS feed
For this you would have to look into https://gohugo.io/templates/output-formats The normal use case is to define RSS as an extra output format for a given page, but if you want many feeds, you may...
View ArticleCreating a single-purpose RSS feed
Thank you! Let me check if I understand. I’ll focus just on the penguins feed as an example. If I can get this working I’m sure I can do the other one too. I’ll take the following steps: Create...
View ArticleCreating a single-purpose RSS feed
Your penguins.md will resolve to a regular page in Hugo (single page, leaf page, many names …) See https://gohugo.io/templates/lookup-order/ So, you have Type (defaults to section) and Layout you can...
View ArticleCreating a single-purpose RSS feed
I’m a little confused. Should I set type: section and layout: penguins in front matter to get it to choose that template? Read full topic
View ArticleCreating a single-purpose RSS feed
No … So, Hugo tries to find the most specific template. We use Type and Layout as some of the criterias. Layout is considered “most specific” – so no need to mess with other settings if that is good...
View ArticleCreating a single-purpose RSS feed
Thanks. I’m still working on deciding the best way to do this from the several options. One option for the penguins feed, for example, is simply to create a new taxonomy and have it rendered only as...
View ArticleCreating a single-purpose RSS feed
SOLVED It took a while but I got around to doing this. It was pretty simple, I was just confused about the different options and how they were different from each other. Short version: create a...
View Article