Update static/admin/config.yml

This commit is contained in:
Morgan 2023-10-30 17:08:43 +09:00
parent 883c6abc80
commit 4857c2134e
1 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ collections:
publish_mode: editorial_workflow
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
editor:
preview: false
preview: true
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
@ -27,12 +27,12 @@ collections:
- name: 'diary'
label: 'Diary'
folder: 'content/blog'
folder: 'content/diary'
create: true
publish_mode: editorial_workflow
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
editor:
preview: false
preview: true
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }