guide.deuxfleurs.fr/static/admin/config.yml

77 lines
1.7 KiB
YAML
Raw Normal View History

2023-02-21 15:21:51 +00:00
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:
2023-02-21 17:41:52 +00:00
- name: 'accueil'
label: 'Accueil'
editor:
preview: false
files:
- name: accueil2
label: Accueil2
file: 'content/_index.md'
fields:
- label: Title
name: title
widget: string
- label: Sort by
name: sort_by
widget: string
- label: Body
name: body
widget: markdown
2023-02-21 16:20:17 +00:00
- name: 'prise_en_main'
label: 'Prise en main'
folder: 'content/prise_en_main'
2023-02-21 17:41:52 +00:00
#summary: '{{title}} ({{dirname}})'
2023-02-21 15:21:51 +00:00
editor:
preview: false
create: true
2023-02-21 17:41:52 +00:00
#nested:
# depth: 3
# summary: '{{title}}'
2023-02-21 15:21:51 +00:00
fields:
- label: Title
name: title
widget: string
- label: Weight
name: weight
widget: number
- label: Body
name: body
widget: markdown
2023-02-21 17:41:52 +00:00
#meta: { path: { widget: string, label: 'Path', index_file: '_index' } }
2023-02-21 16:57:22 +00:00
- name: 'formations'
label: 'Se former'
folder: 'content/formations'
editor:
preview: false
create: true
2023-02-21 17:41:52 +00:00
#summary: '{{title}} ({{dirname}})'
#nested:
# depth: 3
# summary: '{{title}}'
2023-02-21 16:57:22 +00:00
fields:
- label: Title
name: title
widget: string
- label: Weight
name: weight
widget: number
- label: Body
name: body
widget: markdown
2023-02-21 17:41:52 +00:00
#meta: { path: { widget: string, label: 'Path', index_file: '_index' } }