aboutsummaryrefslogblamecommitdiff
path: root/static/admin/config.yml
blob: 67599eb93016e4c712cbe2700b827dd55a50e6ef (plain) (tree)




























                                                       



                                                                                    



                                                                           
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: 'wiki'
    label: 'Wiki'
    folder: 'content'
    editor:
      preview: false
    create: true
    nested:
      depth: 10
      summary: '{{ title }}'
    fields:
      - label: Title
        name: title
        widget: string
      - label: Weight
        name: weight
        widget: number
      - label: Sort by
        name: sort_by
        widget: select
        options: [ "date", "update_date", "title", "title_bytes", "weight", "none" ]
      - label: Body
        name: body
        widget: markdown
    meta: { path: { widget: string, label: 'Path', index_file: '_index' } }