Support for blueprint snippets are great. To make it “complete” it would be great to also have blueprint groups.
Here are two blueprints. Both have the exact same setup of fields, except for the last one. All of them are actually snippets to make it easy to read.
The difference between them is the
hero field in
title: Template1 fields: title: title subtitle: subtitle text: text image: image quote: quote
title: Template2 fields: title: title subtitle: subtitle text: text image: image quote: quote hero: hero
Maybe it don’t seems too bad, but having 30 fields in each and having 10 templates like this is much.
Solution - Blueprint groups
The group file
blueprints/groups/content.yaml exists and looks like this
title: title subtitle: subtitle text: text image: image quote: quote
title: Template1 fields: my_group_key: content
title: Template2 fields: my_group_key: content hero: hero
If going far a group could contain other groups, nested groups. I don’t know how hard it would be to implement, but it can be good to know about the idea.
Also thoughts about something similar here: