Add draft option to Decap
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Matt Cengia 2024-02-06 10:36:37 +11:00
parent 158bbaeefd
commit 0ff8361c06
Signed by: mattcen
GPG Key ID: 652968EE25069D6F
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ collections: # A list of collections the CMS should be able to edit
preview_path: "{{year}}/{{month}}/{{day}}/{{title}}"
create: true # Allow users to create new documents in this collection
fields: # The fields each document in this collection have
- {label: "Draft", name: "draft", widget: "boolean", default: true}
- {label: "Title", name: "title", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Summary", name: "summary", widget: "text", required: false}