add optional category to metadata

This commit is contained in:
Ayo 2021-06-25 12:14:34 +08:00
parent 2cde80f12e
commit 0495ec6a02

View file

@ -81,6 +81,12 @@ prose:
label: image
type: text
value: hello-world
- name: category
field:
element: text
label: category
type: text
placeholder: useful | entertaining | motivational
_drafts:
- name: "published"
field:
@ -105,6 +111,12 @@ prose:
label: image
type: text
value: hello-world
- name: category
field:
element: text
label: category
type: text
placeholder: useful | entertaining | motivational
# Exclude from processing.
# The following items will not be processed, by default. Create a custom list