Subsection content not created

v0.62.2/extended windows/amd64

I made a test for subsection content and it works fine (repo + site):

/content/
    _index.md
    test.md
    /section-1/
        _index.md
        test.md
        /section-2/
            _index.md
            test.md

/layouts/
    /_default/
        baseof.html
        list.html
        single.html

Do you know why Hugo doesn’t create subsections /test/ pages in my more complex situation here? (repo + site)

/content/en/
    _index.md               > ok
    test.md                 > ok
    /positions/
        _index.md           > ok
        test.md             > page not created
        /fundamental/
            _index.md       > ok
            test.md         > page not created

/layouts/
    /_default/
        baseof.html
        list.html
        single.html

Remove this section of your config: https://gohugo.io/content-management/taxonomies/#example-removing-default-taxonomies

Thanks!

Even after re-reading the doc I don’t realize why sections content is considered as taxonomies/categories/tags… :sweat_smile:

So I can’t disable the categories and tags taxonomies without disabling sections content?

You can disable taxonomies entirely by using disableKinds, as discussed in the docs. If you do want to use taxonomies, but not tags and categories, you just define the taxonomies you do want.

The problem is specifically setting the taxonomy definitions empty, ie

taxonomies:
  category: 
  tag: 
1 Like

Ok thanks!