website/static/admin/config.yml

23 lines
830 B
YAML
Raw Normal View History

2024-01-28 15:46:50 +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
2024-01-28 16:36:34 +00:00
branch: main
2024-01-28 16:21:46 +00:00
media_folder: assets/images
2024-01-28 15:57:24 +00:00
public_folder: static
collections:
2024-01-28 16:21:46 +00:00
- name: 'posts'
label: 'Posts'
folder: 'content/posts'
2024-01-28 15:57:24 +00:00
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' }