Can't define a template for new pages in blueprint

I want to define which template to use when adding new pages in a blueprint:

title: Blog
preset: pages
template: blogpost

However, I just get a drop-down with all available templates. Any pointers as to where my error might be?

For reference my blogpost.yml looks like this:

title: blogpost

sections:
content:
    type: fields
    fields:
        headline:
            label: Title
            type: text
        date:
            label: Date
            type: date
        intro:
            label: Intro
            type: textarea
        text:
            label: Text
            type: textarea
            size: large
        tags:
            label: Tags
            type: tags

Thanks

In this case you would have to create custom sections, see the blog example. I wouldn’t use the preset:pages in this case.

Note that the template option is not a main blueprint property, but can be used within sections or fields.

1 Like