Wowchemy-hugo-modules: RSS feeds are no longer generated

Created on 22 Oct 2017  路  5Comments  路  Source: wowchemy/wowchemy-hugo-modules

Hello,

Hugo don't generate rss feed for section, tags or categories.

Step to reproduce :

  • Create a new hugo site
  • Clone academic themes
  • Copy exampleSite
  • Change config.toml :
[outputs]
  home = [ "HTML", "CSS", "RSS" ]
  • Look at 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!

enhancement help wanted

Most helpful comment

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.

All 5 comments

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 馃槂

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pjox picture pjox  路  4Comments

CommonClimate picture CommonClimate  路  4Comments

Framartin picture Framartin  路  4Comments

halfrost picture halfrost  路  3Comments

somnathrakshit picture somnathrakshit  路  3Comments