In my site, I want to use taxonomies to categorise pages for various purposes, but I don’t want Hugo to create pages for them. If I configure disableKinds = ['taxonomy']
then everything works fine, but if I configure disableKinds = ['taxonomy', 'term']
then Hugo doesn’t load any of my taxonomies at all (for example, .Site.Taxonomies
will return {}
).
I can of course not disableKinds
, but then Hugo will warn me every time that I haven’t created layout files for them, and the sitemap still points to these empty pages. Is there a way around this? Thanks!