Add missing cover field to note blueprint and move field to its own blueprint
This commit is contained in:
@@ -24,12 +24,9 @@ columns:
|
||||
# List of all available field types:
|
||||
# https://getkirby.com/docs/reference/panel/fields
|
||||
fields:
|
||||
cover:
|
||||
type: files
|
||||
multiple: false
|
||||
query: page.images
|
||||
uploads:
|
||||
template: image
|
||||
# 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
|
||||
headline:
|
||||
type: text
|
||||
placeholder: "{{ page.title }}"
|
||||
|
@@ -38,6 +38,9 @@ columns:
|
||||
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
|
||||
|
Reference in New Issue
Block a user