The site needs basically two pages - the root page (http://localhost:1313/) and about (http://localhost:1313/about). The root page is highly structure in several blocks, each containing text, title and certain metadata, so the new resource bundle feature with page resources should fit perfectly.
My problem is that I do not get the top level page resources without every page resource on any level below.
Iâve experimented with only _index.md, index.md and both (on both levels).
All I get with
{{ with .Resources.ByType "page" }}
in the index.html template are either no resource at all, or every page resource that exists (including about/index.md, about/about01.md,âŚ). What I need would be only content01.md and content02.md. What I am doing wrong?
Content page resources are only supported in what i call âleaf bundlesâ, i.e. the âindex.mdâ variants. Adding those to the home page etc. wasnât possible without breaking too much.
This caught me out too. Just flagging for when proper docs are added, would be good to make a prominent âgotchaâ aside/warning.
Are there any thoughts about how content bundles might be supported for home pages in a future release? The home page is often one of the most complex pages of a site, so a prime candidate for the new bundle architecture.