aboutsummaryrefslogtreecommitdiff
path: root/static/admin/config.yml
blob: a7e74bd3a87e150874b573041f41643857def6d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
    fields:
      - label: Title
        name: title
        widget: string
      - label: Weight
        name: weight
        widget: number
      - label: Body
        name: body
        widget: markdown
        modes: [ 'raw', 'rich_text' ]