diff --git a/static/admin/config.yml b/static/admin/config.yml index e866d58..3086595 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -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' }