23 lines
603 B
YAML
23 lines
603 B
YAML
|
# when using the default proxy server port
|
||
|
local_backend: true
|
||
|
|
||
|
backend:
|
||
|
name: git-gateway
|
||
|
branch: main
|
||
|
media_folder: static/img
|
||
|
public_folder: /img
|
||
|
collections:
|
||
|
- name: 'posts'
|
||
|
label: 'Posts'
|
||
|
folder: 'content/posts'
|
||
|
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' }
|
||
|
|