Hello,
Hugo don't generate rss feed for section, tags or categories.
Step to reproduce :
[outputs]
home = [ "HTML", "CSS", "RSS" ]
http://localhost:1313/tags/academic/ header: <link rel="alternate" href="//localhost:1313/index.xml" type="application/rss+xml" title="Academic">
<link rel="feed" href="//localhost:1313/index.xml" type="application/rss+xml" title="Academic">
I don't understand why I don't have //localhost:1313/tags/academic/index.xml ?
If I try to look at //localhost:1313/tags/academic/index.xml I have "404 page not found"
Hugo version : v0.30.2
Any idea?
Thanks!
The RSS code in Academic has not changed. Therefore, it looks like the issue may be related to changes in Hugo.
Should we open an issue in hugo's project?
FYI, I opened an issue in hugo's project.
I got an answer, I didn't use the right output format for section and taxonomy : https://github.com/gohugoio/hugo/issues/4012#issuecomment-339886090
[outputs]
home = [ "HTML", "CSS", "RSS" ]
section = [ "HTML", "RSS" ]
taxonomy = [ "HTML", "RSS" ]
taxonomyTerm = [ "HTML", "RSS" ]
I suggest to adapt exampleSite with theses change.
Thanks for investigating this @anayrat !
I'll either add the above parameters to the default config.toml or I'll add this info to the documentation 馃槂
Most helpful comment
I got an answer, I didn't use the right output format for
sectionandtaxonomy: https://github.com/gohugoio/hugo/issues/4012#issuecomment-339886090I suggest to adapt exampleSite with theses change.