What's The Deal with YML?

Hi there,

YML is a new format to me and, try as I might, I can’t get predictable result with it. I’m trying to author simple blueprints and I’ve figured out I can’t use tabs in YML only spaces.

I’n running Espresso with a YAML plugin which shows no errors. But some of the fields in the blueprint don’t show in Panel (v2.5.14).

I’ve tried various online YAML validators and they show the YML below validates.

Here’s my code:

title: Service
pages: true
files: true
fields:
   tab1:
    label: Main
    type: tabs
   title:
    label: Title
    type:  text
   text:
    label: Intro text (higher)
    type:  textarea
   text:
    label: Intro text (lighter)
    type:  textarea
   tab2:
    label: SEO
    type: tabs
   seotitle:
    label: Meta Title
    type: text
   seodescription:
    label: Meta Description
    type: text

Is there a guide somewhere as to how Kirby works with YML. I’ve searched the documentation but can’t see anything?

Thanks for and help.

Field and section keys must be unique. You have two fields with the same key text

Thank you!!!

Also the pages: false, files: false settings don’t make sense without the preset: page And tabs are not defined inside fields but must be on the first level.

Please check out the blueprint documentation in the guide.