Update static/admin/config.yml
This commit is contained in:
parent
883c6abc80
commit
4857c2134e
|
@ -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' }
|
||||
|
|
Loading…
Reference in New Issue