Just wondering if there’s any way to view the template lookup order for a given page either via page variables or in the cli. The lookup rules are fairly complex so it’d be useful to be able to debug them.
Failing that, what would be the template lookup order for a nested section e.g.
UPDATE: Just saw this in the docs
When we talk about a section in correlation with template selection, it is currently always the root section only (
/blog/funny-cats/mypost/ => blog).
If you need a specific template for a sub-section, you need to adjust either the
layoutin front matter.
So I’ve specified a layout in the front-matter.