quentin.dufour.io/admin/config.yml
Quentin 5545ae5bd0
Some checks failed
continuous-integration/drone Build is failing
add drone and new config
2023-02-28 11:11:36 +01:00

26 lines
760 B
YAML

backend:
name: gitea
repo: quentin/quentin.dufour.io
base_url: https://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' }