roytang.net Posts Photos Archives About
💬 Reply to a comment by Wouter Groeneveld via brainbaking.com
Roy Tang said...

Yeap, having your images in the content works natively, but unless you package them as a Page Bundle (i.e. your markdown file is named index.md and is in the same folder as the other files), you don't have access to them via the .Resources attribute of the page object in the theme. And as the documentation itself notes, Page Bundles for normal pages (i.e. leaf bundles) don't support nested bundles, which creates the limitation in supporting content hierarchies as described in the post.

I'm happy that it works for you and there are lots of cases where SSGs are fine! It's just an idiosyncrasy of how I wanted to set up mine before that I ran into these limitations. The great thing about being a dev is that we can always dig into the source and hack away at any such problems we find :D