reaktionsfaehig.net/static/admin/config.yml
Stephan Hadan 0ed97fa717
All checks were successful
Build,test and deploy reaktionsfaehig.net / deploy-prod (push) Successful in 20s
fixed blog post
2025-02-18 05:58:19 +01:00

37 lines
1.3 KiB
YAML

backend:
name: gitea
branch: main
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
media_folder: static/assets/images
public_folder: /assets/images
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' }
- 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' }