Based on the discussion in this issue #2995
This is the repo where you can see this behaviour: https://github.com/dmitriid/dmitriid.com
The full description is in the issue, here’s a condensed version:
I use a custom theme, where the theme’s layout is described in /themes/freja/_default/{baseof,single,list}.html
For a specific section of the site (called gen
) I want to fully override the layout of the site. For this I have /themes/freja/section/{gen,gen-baseof}.html
Observed behaviour:
The generated file for a single entry (accessible in browser from http://localhost:1313/gen/social/) still has the outer shell from _default/baseof.html
and _default/single.html
The generated file for “section list” (accessible in browser from localhost:1313/gen/
) gets its outer shell from _default/baseof.html
and everything else from section/gen.html