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

This commit is contained in:
Matt Cengia 2024-01-31 00:04:03 +11:00
parent 7089ded235
commit 158bbaeefd
1 changed files with 2 additions and 0 deletions

View File

@ -9,11 +9,13 @@ backend:
media_folder: "static/images" # Folder where user uploaded files should go
public_folder: "images"
site_url: https://blog.mattcen.com
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: "{{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"}