quentin.dufour.io/admin/config.yml
2023-02-27 18:51:45 +01:00

25 lines
759 B
YAML

backend:
name: gitea
repo: quentin/quentin.dufour.io
base_url: http://teabag.deuxfleurs.fr
api_root: https://git.deuxfleurs.fr/api/v1
branch: master
media_folder: 'assets/'
#publish_mode: editorial_workflow
site_url: https://quentin.dufour.io
display_url: https://quentin.dufour.io
locale: 'fr'
collections:
- name: 'article'
label: 'Article'
folder: '_posts/'
editor:
preview: false
create: true
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
fields:
- { label: 'Layout', name: 'layout', widget: 'hidden', default: 'post' }
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Body', name: 'body', widget: 'markdown' }