reaktionsfaehig.net/static/admin/config.yml

38 lines
1.3 KiB
YAML
Raw Normal View History

2025-01-28 09:02:00 +01:00
backend:
2025-01-28 12:11:33 +01:00
name: gitea
2025-01-28 13:58:04 +01:00
branch: main
2025-01-28 12:11:33 +01:00
repo: web/reaktionsfaehig.net # Path to your Gitea repository
app_id: 36e664a2-afb9-4aa8-951f-7a6e47a27756 # The Client ID provided by Gitea
api_root: https://git.hadan-it.com/api/v1 # API URL of your Gitea instance
base_url: https://git.hadan-it.com # Root URL of your Gitea instance
auth_endpoint: https://git.hadan-it.com/login/oauth/authorize
2025-02-18 05:58:19 +01:00
media_folder: static/assets/images
public_folder: /assets/images
2025-01-28 09:02:00 +01:00
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' }
2025-01-28 12:11:33 +01:00
- name: 'microposts'
label: 'Microposts'
folder: 'content/microposts'
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' }
2025-01-28 09:02:00 +01:00