nycki.net/public/admin/config.yml

26 lines
794 B
YAML
Raw Normal View History

2024-12-14 22:45:29 +00:00
backend:
name: gitea
repo: nycki/nycki.net
app_id: acac8250-0f2d-49c7-a95f-f453ed3ce2ba
api_root: https://git.nycki.net/api/v1
base_url: https://git.nycki.net
auth_endpoint: https://git.nycki.net/login/oauth/authorize
branch: main
media_folder: "public/a"
collections:
- name: "blog"
label: "blog"
folder: "content/blog"
create: true
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
fields:
- { label: 'date', name: 'date', widget: 'datetime' }
- { label: 'title', name: 'title', widget: 'string' }
- { label: 'description', name: 'description', widget: 'string' }
- { label: 'tags', name: 'tags', widget: 'list' }
- { label: 'draft', name: 'draft', widget: 'boolean' }
- { label: 'body', name: 'body', widget: 'markdown' }