Disablekinds for "section" but only one section not all?

In my content directory I have:

    - blog
        - somepostid.md
    - categories
        - category.md

These are imported from my headless CMS. Categories in my CMS are just another content type like blog posts (unfortunately they cant just be values in blog post front matter to take advantage of Hugo’s taxonomies).

They are associated and I reference categories in my blog list.html etc.

I don’t want Hugo to create section or individual pages for categories.

Is there a way I can disable this while still being able reference them in blog layouts?


I’m not sure I understand. You want to use the categories as a taxonomy, but you also want to disable categories?