Hello,
After adding this to my config.toml
:
[Outputs]
home = ["HTML", "RSS", "JSON"] # default: home = ["HTML", "RSS"]
The RSS feed for sections, tags, etc. stopped generating…
So mydomain.com/tags/foo/index.xml
would return 404.
But if I comment out that whole Outputs customization, that same feed will generate fine.
Then looking at the documentation:
… there’s an innocuous looking line:
Any
Kind
without a definition will default toHTML
.
!!
This is the workaround I use right now… just to get JSON
output format added to home
Kind… which looks like an overkill.
[Outputs]
home = ["HTML", "RSS", "JSON"] # default: home = ["HTML", "RSS"]
section = ["HTML", "RSS"]
taxonomy = ["HTML", "RSS"]
taxonomyTerm = ["HTML", "RSS"]
Tomorrow if more kinds are added to outputformats, I would need to add even that to all my sites.
Can this feature request be considered:
If customizing the output formats for one Kind, leave the output formats for other Kinds at their default values.