aboutsummaryrefslogtreecommitdiff
path: root/static/admin/config.yml
blob: 97288f23574eb219739a085f76fa2acdda3fc9e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
backend:
  name: git-gateway
  branch: master # Branch to update (optional; defaults to master)

  media_folder: assets/img/
  public_folder: /img

  collections:
    - name: 'blog'
      label: 'Blog'
      format: 'md'
      folder: 'assets/content/blog'
      create: true
      slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
      editor:
        preview: false
      fields:
        - { label: 'Title', name: 'title', widget: 'string' }
        - { label: 'Publish Date', name: 'date', widget: 'datetime' }
        - { label: 'Description', name: 'description', widget: 'string' }
        - { label: 'Body', name: 'body', widget: 'markdown' }