The Page preset simplifies the setup for standard pages with form fields, optional subpages and files.
Do not use presets for new projects. Presets will be deprecated in future versions of Kirby.
This allows you to create a very basic blueprint like this:
This simple blueprint creates an empty main section and a sidebar with a files and a pages section.
You can now extend this basic preset by adding as many fields as you like:
And you can of course extend this basic setup in many ways.
No files or pages section
If you don't want a files or pages section, set either option to false in the page options:
No pages section:
No files section:
Extend files/pages sections
You can extend the pages and files sections with the options available for pages sections and files sections.
Overwrite the sidebar
You can also overwrite the sidebar column:
In this example, we extend an existing files section which we have defined in
/site/blueprints/sections/images.yml. Instead of extending a existing files section, you can also define a complete files section here.
The main column can only take fields, the sidebar can have multiple sections of different types. Completely custom layouts are possible with layout blueprints.