blog/static/admin/config.yml

56 lines
1.7 KiB
YAML
Raw Normal View History

2023-10-25 13:14:23 +09:00
backend:
name: gitea
2023-10-25 16:00:47 +09:00
repo: morgan/blog
2023-10-25 14:56:16 +09:00
app_id: 64d5b875-e747-4176-b545-ce7a3b0c7f16
2023-10-25 16:00:47 +09:00
api_root: https://git.morgan.kr/api/v1
base_url: https://git.morgan.kr
2023-10-25 13:14:23 +09:00
branch: main
media_folder: static/img
public_folder: /img
collections:
2023-10-25 16:10:31 +09:00
- name: 'post'
label: 'Post'
2023-10-25 13:14:23 +09:00
folder: 'content/posts'
create: true
2023-10-25 16:10:31 +09:00
publish_mode: editorial_workflow
2023-10-25 13:14:23 +09:00
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
editor:
2023-10-30 17:10:07 +09:00
preview: false
2023-10-25 13:14:23 +09:00
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
2023-10-25 16:10:31 +09:00
- { label: 'Slug', name: 'slug', widget: 'string' }
2023-10-26 14:35:13 +09:00
- { label: 'Description', name: 'description', widget: 'string', required: false }
2023-10-25 14:56:16 +09:00
- { label: 'Body', name: 'body', widget: 'markdown' }
2023-10-26 14:52:56 +09:00
2023-11-01 22:37:00 +09:00
- name: 'daily'
2023-11-01 22:35:20 +09:00
label: 'Daily'
folder: 'content/daily'
create: true
publish_mode: editorial_workflow
slug: '{{year}}-{{month}}-{{day}}'
editor:
2023-11-01 22:37:00 +09:00
preview: false
2023-11-01 22:35:20 +09:00
fields:
2023-11-01 22:37:00 +09:00
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Slug', name: 'slug', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }
2023-11-01 22:35:20 +09:00
2023-10-26 14:52:56 +09:00
- name: 'diary'
label: 'Diary'
2023-10-30 17:08:43 +09:00
folder: 'content/diary'
2023-10-26 14:52:56 +09:00
create: true
publish_mode: editorial_workflow
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
editor:
2023-10-30 17:10:07 +09:00
preview: false
2023-10-26 14:52:56 +09:00
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Slug', name: 'slug', widget: 'string' }
- { label: 'Description', name: 'description', widget: 'string', required: false }
- { label: 'Body', name: 'body', widget: 'markdown' }