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
|
||||
|
||||
collections:
|
||||
- name: 'blog'
|
||||
label: 'Blog'
|
||||
- name: 'post'
|
||||
label: 'Post'
|
||||
folder: 'content/posts'
|
||||
create: true
|
||||
publish_mode: editorial_workflow
|
||||
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
|
||||
editor:
|
||||
preview: false
|
||||
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' }
|
||||
- { label: 'Body', name: 'body', widget: 'markdown' }
|
||||
|
|
Loading…
Reference in New Issue