Update static/admin/config.yml
This commit is contained in:
parent
5277ea1911
commit
07cc2cb203
|
@ -10,15 +10,17 @@ media_folder: static/img
|
||||||
public_folder: /img
|
public_folder: /img
|
||||||
|
|
||||||
collections:
|
collections:
|
||||||
- name: 'blog'
|
- name: 'post'
|
||||||
label: 'Blog'
|
label: 'Post'
|
||||||
folder: 'content/posts'
|
folder: 'content/posts'
|
||||||
create: true
|
create: true
|
||||||
|
publish_mode: editorial_workflow
|
||||||
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
|
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
|
||||||
editor:
|
editor:
|
||||||
preview: false
|
preview: false
|
||||||
fields:
|
fields:
|
||||||
- { label: 'Title', name: 'title', widget: 'string' }
|
- { label: 'Title', name: 'title', widget: 'string' }
|
||||||
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
|
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
|
||||||
|
- { label: 'Slug', name: 'slug', widget: 'string' }
|
||||||
- { label: 'Description', name: 'description', widget: 'string' }
|
- { label: 'Description', name: 'description', widget: 'string' }
|
||||||
- { label: 'Body', name: 'body', widget: 'markdown' }
|
- { label: 'Body', name: 'body', widget: 'markdown' }
|
||||||
|
|
Loading…
Reference in New Issue