summaryrefslogtreecommitdiffstats
path: root/src/admin/config.yml
blob: e81f4761c61599255166ff79e901e2546c089705 (plain)
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
backend:
  name: git-gateway
  branch: main # Branch to update (optional; defaults to master)
media_folder: src/media
public_folder: /media
collections:
  - name: gallery
    label: Gallery
    identifier_name: title
    folder: _gallery
    create: true
    fields:
      - name: title
        label: Title
        widget: string
      - name: column_count
        label: Column count
        widget: number
        value_type: int
        min: 1
        max: 3
        default: 2
      - name: source
        label: Source
        widget: image
        choose_url: true