I’ve read the documentation and threads here about the difference between
slug.md, where the later does not have access to page bundled resources. I understand what the limitations of bundle-less pages.
Is there a proper way to tell if my page has a bundle or is bundle-less?
I have a situation (a photo gallery) where images could be shared across sibling pages (a multi-day trip and highlights). I want to store all the images in the parent’s bundle, and let the file.md access those resources.
In the case of
slug1/day1.md, a bundle-less page, to utilize
.Parent.Resources but in the case of
slug2/day1/index.md which has images in its page bundle, it can just access
What’s the Hugo-proper way to say “I have my own page bundle, use that” vs “I am a bundle-less page, so I want to access my .Parent’s page bundle resources.”?