Forgive me if this is the most blindingly obvious question one could ask, but I haven’t seen a clear statement within the documentation as to how hugo applies a template to a particular .md file.
My goal is to create a section overview/summary which lists the subsections within it, allowing someone to click on these and then see the relevant posts.
For example if I had:
/content/projects/art/_index.md
/content/projects/art/Landscape/landscape1.md
/content/projects/art/Portrait/portrait1.md
I would want a visitor to click on “Art” and see Landscape and Portrait as their options on which they could click to navigate through to all the posts in that particular section.
I’ve followed the Content types documentation and created a layout/projects/art folder with a single.html and list.html files as well as adding an art.md file in archetypes as per https://gohugo.io/content/types/#create-type-directory details.
When changing the default list or single.html sections in these areas nothing happens to my pages, they only utilise the _default list.html and single.html sections in the original theme and I’m not sure why.
Basically, I’m asking if anyone has a simpler way of explaining how a page chooses what layout it will use because I can’t get my head around the documentation.