decap CMS additions
This commit is contained in:
19
admin/config.yml
Normal file
19
admin/config.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
backend:
|
||||
name: github
|
||||
branch: master
|
||||
repo: shrapnelnet/blog
|
||||
media_folder: "assets/uploads"
|
||||
collections:
|
||||
- name: 'blog'
|
||||
label: 'shr4pnelblog'
|
||||
folder: '_posts/'
|
||||
create: true
|
||||
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
|
||||
editor:
|
||||
preview: false
|
||||
fields:
|
||||
- { label: 'Layout', name: 'layout', widget: 'hidden', default: 'post' }
|
||||
- { label: 'Title', name: 'title', widget: 'string' }
|
||||
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
|
||||
- { label: "Permalink", name: "permalink", widget: "string" }
|
||||
- { label: 'Body', name: 'body', widget: 'markdown' }
|
||||
Reference in New Issue
Block a user