from Hugo's Lookup Order | Hugo
Layout Lookup for Taxonomy Pages
Layout Lookup for Term Pages
In taxonomy layout, category.terms.html is before general terms.html but in term layout, term.html is before category.html. Why is that?
This design decision was made by the creators of Hugo, a long time ago (more than 6 years ago).
Also note that the Template Lookup Order is a fundamental concept and I cannot see it being up for discussion at this point, because if there was a change it would break plenty of existing projects.
This topic was automatically closed after 23 hours. New replies are no longer allowed.