guide.deuxfleurs.fr/static/admin/config.yml
2023-02-21 17:42:07 +01:00

34 lines
874 B
YAML

backend:
name: gitea
repo: foobar/guide.web.vimaire.machine.dufour.io
base_url: http://teabag.vimaire.machine.dufour.io
api_root: http://git.vimaire.machine.dufour.io/api/v1
branch: main
media_folder: 'static/img/'
site_url: http://guide.web.vimaire.machine.dufour.io
display_url: http://guide.web.vimaire.machine.dufour.io
locale: 'en'
collections:
- name: 'prise_en_main'
label: 'Prise en main'
folder: 'content/prise_en_main'
editor:
preview: false
create: true
nested:
depth: 3
summary: '{{title}}'
fields:
- label: Title
name: title
widget: string
- label: Weight
name: weight
widget: number
- label: Body
name: body
widget: markdown
modes: [ 'raw', 'rich_text' ]
meta: { path: { widget: string, label: 'Path', index_file: 'index' } }