19 lines
590 B
YAML
19 lines
590 B
YAML
backend:
|
|
name: git-gateway
|
|
branch: main # Branch to update (optional; defaults to master)
|
|
media_folder: static/images
|
|
public_folder: /images
|
|
collections:
|
|
- name: 'blog'
|
|
label: 'Blog'
|
|
folder: 'content/blog'
|
|
create: true
|
|
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
|
|
editor:
|
|
preview: false
|
|
fields:
|
|
- { label: 'Title', name: 'title', widget: 'string' }
|
|
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
|
|
- { label: 'Description', name: 'description', widget: 'string' }
|
|
- { label: 'Body', name: 'body', widget: 'markdown' }
|