FIX decap cms config
All checks were successful
build-to-pages / build (push) Successful in 31s
build-to-pages / push (push) Successful in 13s

This commit is contained in:
Hoernschen 2024-01-28 16:57:24 +01:00
parent eca16077dc
commit 4fb7c0af5e
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462

View file

@ -6,3 +6,18 @@ backend:
base_url: https://code.nutfactory.org # Root URL of your Gitea instance base_url: https://code.nutfactory.org # Root URL of your Gitea instance
# optional, defaults to master # optional, defaults to master
# branch: main # branch: main
media_folder: assets
public_folder: static
collections:
- name: 'content'
label: 'Content'
folder: 'content'
create: true
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }