I’m trying to create a blueprint for a form that will result in a frontmatter with an additional level. Let’s say this is what the result should look like:
object:
color: blue
width: 340
How would I go about this in the blueprint? I’ve only managed to get this to work by using a section to introduce the object
key before being able to actually use the sub-keys, object.color
and object.width
:
fields:
header.object:
name: object
type: section
title: Object
fields:
header.object.color:
name: color
type: text
label: Color
header.object.width:
name: width
type: number
label: Width
Omitting the first block (the section definition) leads to the form showing up empty. What if I don’t want a section element and the title that comes with it? Is there another way to tell the blueprint: “Let’s now deal with sub-keys of the object
key”?