22 lines
882 B
YAML
22 lines
882 B
YAML
backend:
|
|
name: github
|
|
branch: master
|
|
repo: shrapnelnet/blog
|
|
base_url: https://blog.shr4pnel.com
|
|
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: "Description", name: "description", widget: "string" }
|
|
- { label: 'Body', name: 'body', widget: 'markdown' }
|
|
- { label: "Image", name: "image", widget: "image", default: "/assets/uploads/lausse.jpeg" } |