quentin.dufour.io/admin/config.yml

26 lines
760 B
YAML
Raw Normal View History

2022-08-27 14:30:17 +00:00
backend:
2023-02-27 17:51:18 +00:00
name: gitea
repo: quentin/quentin.dufour.io
2023-02-28 10:11:29 +00:00
base_url: https://teabag.deuxfleurs.fr
2023-02-27 17:51:18 +00:00
api_root: https://git.deuxfleurs.fr/api/v1
branch: master
2022-11-24 22:10:16 +00:00
media_folder: 'assets/'
2023-02-27 17:51:18 +00:00
#publish_mode: editorial_workflow
2022-11-24 22:10:16 +00:00
site_url: https://quentin.dufour.io
display_url: https://quentin.dufour.io
locale: 'fr'
2022-08-27 14:30:17 +00:00
collections:
2022-11-24 22:10:16 +00:00
- name: 'article'
label: 'Article'
2022-08-27 14:30:17 +00:00
folder: '_posts/'
2022-11-24 22:10:16 +00:00
editor:
preview: false
create: true
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
2022-08-27 14:30:17 +00:00
fields:
2022-11-24 22:10:16 +00:00
- { 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' }