Improved documentation on layout Lookup Order - what do you think?

Hi all,

I found the documentation about naming/ordering of template files rather obscure, so I tried to improve it.

Also I found a few posts on the forum asking how to name template files:

The topic is complex, so I tried to put it all together in a (I hope) clear way providing also an example.

Proposed doc page (preview):

Original doc page: Hugo's Lookup Order | Hugo

What do you think? Suggestions? Here is the pull request Better explanation of Kind, Session, Type, Layout on final layout path by dgasparri · Pull Request #1805 · gohugoio/hugoDocs · GitHub


1 Like