I have this frontmatter on a page:
highlight:
- header: Call to action
text: "Put in some catchy words to let the viditors to your website know what to do and where to go to do this thing that they want to do."
icon: life-saver
url: about
- header: This is the second
text: "This would be another thing you can do, put in some information and let users find what they are looing for."
icon: money
url: join
- header: And another
text: "Here is another CTA, this is an important thing that you want people to see. If they click, they will go there."
icon: heart-o
url: events
I would like to make this editable in the admin plugin so I made a blueprint file for the template and I want to add an Array or List that populates from the above frontmatter. I just don’t know what the syntax would be.
header.highlight:
type: array
label: Home Page CTA
options:
header: header
text: text
icon: icon
url: url
Obviously, that is wrong, it does populate an array of fields, but not correctly so it almost works.