Initial commit
This commit is contained in:
55
site/blueprints/pages/note.yml
Normal file
55
site/blueprints/pages/note.yml
Normal file
@@ -0,0 +1,55 @@
|
||||
# Each page blueprint must have a title, the title may be different from the file name
|
||||
title: Note
|
||||
|
||||
# Sorting number scheme that is applied when page status is changed to `listed`
|
||||
# More about page sorting: https://getkirby.com/docs/reference/panel/blueprints/page#sorting
|
||||
num: date
|
||||
|
||||
# Each page can have an icon that is shown in page listings when no preview image is available.
|
||||
icon: 📖
|
||||
|
||||
# Custom descriptions for each page status depending on use case
|
||||
# More about page status: https://getkirby.com/docs/reference/panel/blueprints/page#statuses
|
||||
status:
|
||||
draft:
|
||||
label: Draft
|
||||
text: The note is still in draft mode. It can only be seen by editors with panel access.
|
||||
unlisted:
|
||||
label: In Review
|
||||
text: The note is online and can be visited with the direct URL. The team must still give the final go to publish it.
|
||||
listed:
|
||||
label: Published
|
||||
text: The note is online and listed in the blog
|
||||
|
||||
# Define the form layout with two columns
|
||||
# Columns are optional but help structure the form layout
|
||||
# More about columns: https://getkirby.com/docs/guide/blueprints/layout#defining-columns
|
||||
columns:
|
||||
- width: 2/3
|
||||
# This columns only has a single field
|
||||
fields:
|
||||
text:
|
||||
type: blocks
|
||||
|
||||
- width: 1/3
|
||||
# This second column holds a fields section with multiple fields
|
||||
# More about fields sections: https://getkirby.com/docs/reference/panel/sections/fields
|
||||
sections:
|
||||
meta:
|
||||
type: fields
|
||||
fields:
|
||||
# If you need the same field in multiple locations, you can define them once and reuse whereever needed.
|
||||
# Here we use a files field defined in `/site/blueprints/field/cover.yml`
|
||||
cover: fields/cover
|
||||
date:
|
||||
type: date
|
||||
time: true
|
||||
default: now
|
||||
author:
|
||||
type: users
|
||||
# Fields types can be added using the shortcut `fieldname: true`
|
||||
# (however, you can only use a fieldname once per page and this only makes sense for simple fields without configuration)
|
||||
tags: true
|
||||
files:
|
||||
type: files
|
||||
template: blocks/image
|
||||
Reference in New Issue
Block a user