Hi All,
I’ve been doing a lot of reading about resources and bundles, and was wondering when it would be a good time to use a branch bundle vs. when it would be good to use a leaf bundle.
I’ve read the Page Bundles document, but am looking for a bit more guidance on how I should use them.
I’m putting together a website for a theater company that will have members, associate members, and board members.
content/
├── company/
|
├── sarah_jones/
| index.md
| sarah_jones.jpg
|
├── ann_smith/
| index.md
| ann_smith.jpg
|
├── gary_bepo/
| index.md
| gary_bepo.jpg
|
_index.md
company_banner.jpg
In this case, the company/_index.md would be a branch bundle, with individual leaf bundles under it for each company member / associate member / board member. I was thinking that this would be a good approach because each individual would only need their own directory with an index file and their bio picture.
The branch bundle would be a sort of summary page, and would use resources
to reference the leaves’ images and some of the leaves’ content.
Within each person’s individual directory, their individual index.md
file would have metadata to indicate whether they were a member, associate member, or board member, and I could use that data in the templates.
Does this sound like a good approach?
Thanks in advance for any tips or advice.