Blueprint keywords reference & samples

panel

#1

Hi,

Is there any comprehensive reference of the blueprint language? Didn’t have any luck finding it on the website and I’m confused as to what many of the keywords means (e.g. status, type, templates…) as the reference and guide don’t cover most of them.

Also, on the blueprint samples (https://getkirby.com/docs/reference/panel/samples), I cannot see how the site.yml file would be structured.

Any pointer to those would be appreciated, thanks!


#2

Start with the guide and it’s subpages:
https://getkirby.com/docs/guide/blueprints/introduction

More then here:
https://getkirby.com/docs/reference/panel/blueprints

And in all parts of the Reference sidebar section “Panel” (Presets, Sections, Fields).

But start with the guide for a broad understanding and then dig deeper into the details of each part.


#3

Hi thanks for the quick reply.
I’m going through those, but still cannot figure out what many of the things in samples do.

For instance, in the starterkit sample site.yml file

title: Site
columns:
  - width: 1/2
    sections:
      albums: sections/albums
  - width: 1/2
    sections:
      notes: sections/notes
      pages:
        type: pages
        create: default
        template:
          - about
          - home
          - default

I could not find any definition or info about the following keywords

  • create
  • template

Or in the onepager sample (https://getkirby.com/docs/reference/panel/samples/one-pager)

title: One Pager
icon: 📔

sections:
  parts:
    headline: Parts
    type: pages
    status: all
    info: "{{ page.intendedTemplate }}"
    image: false
    templates:
      - pager-headline
      - pager-hero
      - pager-text
      - pager-video

There’s no reference on what the site.yml would be like. And I could not find any info about the following keywords

  • status
  • info
  • image

#4

Look here : https://getkirby.com/docs/reference/panel/sections/pages#options


#5

That’s what I needed. Thanks Yoh!