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

  publish_mode: editorial_workflow
  media_folder: "static/images/uploads"
  public_folder: "/images/uploads"

  collections:
    - name: 'blog'
      label: 'Blog'

      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' }