Add missing cover field to note blueprint and move field to its own blueprint

This commit is contained in:
sonja
2020-12-13 12:30:41 +01:00
committed by Bastian Allgeier
parent 137700c492
commit 89265cd228
3 changed files with 15 additions and 6 deletions

View File

@@ -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 }}"

View File

@@ -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