aboutsummaryrefslogtreecommitdiff
path: root/static/admin/config.yml
blob: 27584e46c2b6243fa1d842bcb071218e3d334780 (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
  repo: Alee14/personal-website
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' }