I want to make a custom RSS feed, with all posts from a certain section. Sounds like a good task for custom outputs, right?
So in my
config.toml file I have:
[outputFormats] [outputFormats.SectionRSS] name = "SectionRSS" mediaType = "application/rss" isPlainText = true baseName = "index.xml" isHTML = false
I’ve made a stub content file at
/content/mysection/rss-feed.md with this as its contents:
+++ outputs = ["SectionRSS"] url = "rss-index.xml" layout = "section-rss" +++
And I’ve put the RSS layout file at
But nothing gets rendered. Where am I going wrong?
- Read the output formats documentation multiple times.
- Searched the forum with multiple queries.
- Tried all different kind of approaches.
Hugo Static Site Generator v0.40.3 windows/amd64 BuildDate: 2018-05-09T07:47:04Z