From e9a56cde642ca535418ea80b9d15a0aa54c53860 Mon Sep 17 00:00:00 2001 From: Sonja Broda Date: Thu, 2 Jun 2022 23:15:34 +0200 Subject: [PATCH] Remove page preset from default.yml blueprint --- site/blueprints/pages/default.yml | 38 +++++++++++++++++++------------ 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/site/blueprints/pages/default.yml b/site/blueprints/pages/default.yml index ea68dcc..933d9c9 100644 --- a/site/blueprints/pages/default.yml +++ b/site/blueprints/pages/default.yml @@ -5,12 +5,6 @@ title: Simple Page # Each page can have an icon that is shown in page listings when no preview image is available. icon: 📝 -# Page presets are a quick way to set up a standard page layout -# More about page presets: -# - https://getkirby.com/docs/guide/blueprints/presets and -# - https://getkirby.com/docs/reference/panel/presets/page -preset: page - # Custom descriptions of page statuses depending on use case # More about page statuses: https://getkirby.com/docs/reference/panel/blueprints/page#statuses status: @@ -22,13 +16,27 @@ status: label: Menu Page text: The page is listed in the main menu -# Limit subpage display to certain templates in a page preset -pages: - template: default +# Content area width 2 columns and 3 sections: fields, pages, and files +# Columns: https://getkirby.com/docs/guide/blueprints/layout#defining-columns +columns: + main: + width: 2/3 + sections: + # Fields section: https://getkirby.com/docs/reference/panel/sections/fields + fields: + type: fields + fields: + text: + type: textarea + size: huge + sidebar: + width: 1/3 + sections: + # Pages section: https://getkirby.com/docs/reference/panel/sections/pages + pages: + type: pages + template: default + # Files section: https://getkirby.com/docs/reference/panel/sections/files + files: + type: files -# A page preset can have a freely defined set of fields -# List of all available field types: https://getkirby.com/docs/reference/panel/fields -fields: - text: - type: textarea - size: huge