Merge pull request #42 from getkirby/texnixe/remove-preset

Remove page preset from default.yml blueprint
This commit is contained in:
Sonja Broda
2022-06-03 18:30:11 +02:00
committed by GitHub

View File

@@ -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. # Each page can have an icon that is shown in page listings when no preview image is available.
icon: 📝 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 # Custom descriptions of page statuses depending on use case
# More about page statuses: https://getkirby.com/docs/reference/panel/blueprints/page#statuses # More about page statuses: https://getkirby.com/docs/reference/panel/blueprints/page#statuses
status: status:
@@ -22,13 +16,27 @@ status:
label: Menu Page label: Menu Page
text: The page is listed in the main menu text: The page is listed in the main menu
# Limit subpage display to certain templates in a page preset # Content area width 2 columns and 3 sections: fields, pages, and files
pages: # Columns: https://getkirby.com/docs/guide/blueprints/layout#defining-columns
template: default columns:
main:
# A page preset can have a freely defined set of fields width: 2/3
# List of all available field types: https://getkirby.com/docs/reference/panel/fields sections:
fields: # Fields section: https://getkirby.com/docs/reference/panel/sections/fields
fields:
type: fields
fields:
text: text:
type: textarea type: textarea
size: huge 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