website/admin/config.yml

24 lines
856 B
YAML
Raw Normal View History

2024-01-28 15:47:49 +00:00
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
2024-01-28 15:58:17 +00:00
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' }