website/static/admin/config.yml
Hoernschen 0a393f3159
All checks were successful
build-to-pages / build (push) Successful in 59s
build-to-pages / push (push) Successful in 15s
FIX decap cms config
2024-01-28 17:21:46 +01:00

23 lines
865 B
YAML

backend:
name: gitea
repo: hoernschen/website # Path to your Gitea repository
app_id: 6f1e6454-c3e7-42d2-aa8b-f2c0807bc084 # The Client ID provided by Gitea
api_root: https://code.nutfactory.org/api/v1 # API URL of your Gitea instance
base_url: https://code.nutfactory.org # Root URL of your Gitea instance
# optional, defaults to master
# branch: main
media_folder: assets/images
public_folder: static
collections:
- name: 'posts'
label: 'Posts'
folder: 'content/posts'
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' }