This commit is contained in:
Morgan 2024-05-19 21:56:35 +09:00
parent cc7544b74b
commit 85b973ccf8
No known key found for this signature in database
1 changed files with 5 additions and 20 deletions

View File

@ -1,7 +1,7 @@
backend:
name: gitea
repo: morgan/blog
app_id: 64d5b875-e747-4176-b545-ce7a3b0c7f16
app_id: dab0cf1e-dc7b-4bdb-a464-7a663d627553
api_root: https://git.morgan.kr/api/v1
base_url: https://git.morgan.kr
branch: main
@ -25,23 +25,9 @@ collections:
- { label: 'Description', name: 'description', widget: 'string', required: false }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'daily'
label: 'Daily'
folder: 'content/daily'
create: true
publish_mode: editorial_workflow
slug: '{{year}}-{{month}}-{{day}}'
editor:
preview: false
fields:
- { 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' }
- name: 'diary'
label: 'Diary'
folder: 'content/diary'
- name: 'blog'
label: 'Blog'
folder: 'content/blog'
create: true
publish_mode: editorial_workflow
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
@ -51,5 +37,4 @@ collections:
- { 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' }