fixup! Update DecapCMS config
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Matt Cengia 2024-01-31 00:20:10 +11:00
parent dcd958d4cf
commit da20f50564
1 changed files with 1 additions and 2 deletions

View File

@ -15,8 +15,7 @@ collections: # A list of collections the CMS should be able to edit
- name: "posts" # Used in routes, ie.: /admin/collections/:slug/edit
label: "Post" # Used in the UI, ie.: "New Post"
folder: "content/posts" # The path to the folder where the documents are stored
preview_path: "posts/{{year}}/{{month}}/{{day}}/{{slug}}"
slug: "{{title}}"
preview_path: "posts/{{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: "Title", name: "title", widget: "string"}