21 lines
811 B
YAML
21 lines
811 B
YAML
backend:
|
|
name: git-gateway
|
|
branch: master # Branch to update (optional; defaults to master)
|
|
|
|
publish_mode: editorial_workflow
|
|
media_folder: "static/images/uploads" # Media files will be stored in the repo under static/images/uploads
|
|
public_folder: "/images/uploads" # The src attribute for uploaded media will begin with /images/uploads
|
|
|
|
collections:
|
|
- name: 'gotogether'
|
|
label: 'GOTOGETHER le mag'
|
|
folder: 'content/gotogether'
|
|
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' } |