I have a site with 3 categories. Articles in each category are stored in a folder of the same name. Sometimes, when I visit the category page URL, Hugo is using an layouts/learn/list.html instead of layouts/taxonomy/category.html. I have specified
layout: "taxonony/category.html in the frontmatter of each _index.md page. Furthermore, when I run
hugo serve in
--disableFastRender mode this does not occur, but when I use
hugo to build the site it occurs.
Why is this happening?