aboutsummaryrefslogblamecommitdiff
path: root/static/admin/config.yml
blob: 422684f599d344b39c8082b096a8a519df86714c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                       


                                   
                                      


                    


                          









                        
                                                                           






                                
                                      












                          
                                                                           
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'
    summary: '{{title}} ({{dirname}})'
    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
    meta: { path: { widget: string, label: 'Path', index_file: '_index' } }

  - name: 'formations'
    label: 'Se former'
    folder: 'content/formations'
    editor:
      preview: false
    create: true
    summary: '{{title}} ({{dirname}})'
    nested:
      depth: 3
      summary: '{{title}}'
    fields:
      - label: Title
        name: title
        widget: string
      - label: Weight
        name: weight
        widget: number
      - label: Body
        name: body
        widget: markdown
    meta: { path: { widget: string, label: 'Path', index_file: '_index' } }