I want to re-use a blueprint for multiple fields, but the docs only give an example for a named field.
import@: for blueprints is described in the docs with this form definition:
form:
fields:
gallery.images:
type: list
label: Images
fields:
.src:
type: text
label: Image
and use like so
form:
fields:
images:
type: section
title: Images
underline: true
import@:
type: partials/gallery
context: blueprints://
this will write a list to gallery.images in the markdown. But what if I want to re-use partials/gallery for another gallery? e.g. gallery2.images