Section content not being rendered

I feel like I’m just doing something silly, but I am not getting various pages on my site being rendered.

I have the following layout under “content”:

  • about-us/
    • _index.md
    • partners/
      • _index.md
      • partnerA/
        • index.md
        • logo.jpg
      • partnerB/
        • index.md
        • logo.jpg
    • history/
      • index.md
  • services/
    • _index.md
    • consulting/
      • index.md
    • procurement/
      • index.md

With the above layout, the only pages being rendered are:

  • /
  • /about-us/partners/partnerA/
  • /about-us/partners/partnerB/
  • /about-us/history/
  • /services/consulting/
  • /services/procurement/

The problem is that the section “_index.md” pages aren’t rendered at all, despite my theme having all the templates I think I need:

  • _default/single.html
  • _default/section.html
  • _default/list.html
  • _default/home.html

What I am trying to achieve is to have the intermediate section pages rendered as follows:

  • /
  • /about-us/
  • /about-us/partners/
  • /about-us/partners/partnerA/
  • /about-us/partners/partnerB/
  • /about-us/history/
  • /services/
  • /services/consulting/
  • /services/procurement/

I have read and re-read the template lookup order in Hugo but I feel like i’m missing something really obvious.

Thanks in advance

Hello @andrewheberle! Please include a link to the source code repository of your project. See https://discourse.gohugo.io/t/requesting-help/9132 for more information.