aboutsummaryrefslogtreecommitdiff
path: root/static/admin/config.yml
blob: 8ab20cb98c79a9a4f683d2f4599fc491c16fba6a (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: github
  branch: master
  repo: your_repo_name
publish_mode: editorial_workflow
logo_url: /assets/img/Alee.png
media_folder: "static/uploads"
public_folder: "/uploads"
collections:
  - name: 'blog'
    label: 'Blog'
    format: 'json'
    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' }