summaryrefslogtreecommitdiffstats
path: root/src/admin/config.yml
blob: 9b3044f4e9a7d3595dcc33a96c05147d0a7bc7dc (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
27
28
29
30
31
32
33
34
35
36
37
38
39
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
    extension: json
    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: images
        label: Images
        widget: list
        default: []
        fields:
          - name: title
            label: Title
            widget: string
          - name: source
            label: Source
            widget: image
            allow_multiple: false
            choose_url: true
            media_library:
              config:
                multiple: true