Hi lovely Hugo community
I’m doing my first steps with a custom layout for a section. I have a section
donate with only index
md-files in it. As this is a leaf bundle, I named the
index.it.md for the four languages my page should support. I also created the file
layout/donate/single.html as a custom layout for the mentioned
Unfortunately, this setup doesn’t seem to work, Hugo takes the
layout/_default/single.html despite the custom section single page layout present. If I rename the index
_index... the custom
layout/donate/list.html is taken.
It seems as I misunderstand either how the custom section layouts work or how leaf bundles are precessed. You can find the example in this repo.
Any help is appreciated.