FIX decap cms config
This commit is contained in:
parent
eca16077dc
commit
4fb7c0af5e
1 changed files with 15 additions and 0 deletions
|
@ -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' }
|
||||||
|
|
Loading…
Reference in a new issue