aboutsummaryrefslogtreecommitdiff
path: root/admin/config.yml
blob: 2955be9d38c8db79863026003f736d2e9fc8c4e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# config.yml

backend:
  name: github
  repo: UniverseDevGroup/pokeworld-website
  branch: master # Branch to update (optional; defaults to master)
media_folder: 'assets/uploads'
collections:
  - name: 'posts'
    description: 'This is where you can make posts for the website.'
    label: 'Posts'
    folder: '_posts/'
    create: true
    slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
    editor:
      preview: false
    fields:
      - { label: 'Title', name: 'title', widget: 'string', required: true }
      - { label: 'Body', name: 'body', widget: 'markdown', required: true }