-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
52 lines (50 loc) · 2.19 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
backend:
name: git-gateway
branch: master
media_folder: 'public/uploads'
public_folder: "/uploads"
collections:
- name: 'blog'
label: 'Blog'
folder: 'content/'
create: true
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
fields:
- { name: "title", label: "Title", widget: "string" }
- { name: "image", label: "Image", widget: "image", required: false }
- name: "imageMeta"
label: "ImageMeta"
widget: "object"
collapsed: true
fields:
- { label: "attribution", name: "attribution", widget: "string", default: '', required: false }
- { label: "attributionLink", name: "attributionLink", widget: "string", default: '', required: false }
- { name: "featured", label: "Featured", widget: "boolean", default: true }
- { name: "authors", label: "Authors", widget: "list", default: ["ghost"] }
- { name: "tags", label: "Tags", widget: "list", default: ["new"], required: false }
- { name: "body", label: "Body", widget: "markdown" }
- { label: "Publish Date", name: "date", widget: "datetime", format: "ddd MMM DD YYYY h:mm:ss a"}
- name: 'author'
label: 'Author'
folder: 'author/'
create: true
slug: "{{name}}"
fields:
- { name: "name", label: "Name", widget: "string" }
- { name: "id", label: "Id", widget: "string" }
- { name: "image", label: "Image", widget: "image", required: false }
- { name: "cover", label: "Cover", widget: "string", required: false }
- { name: "website", label: "Website", widget: "string", required: false }
- { name: "twitter", label: "Twitter", widget: "string", required: false }
- { name: "facebook", label: "Facebook", widget: "string", required: false }
- { name: "location", label: "Location", widget: "string", required: false }
- { name: "body", label: "Body", widget: "markdown", required: false }
- name: 'tag'
label: 'Tag'
folder: 'tag/'
create: true
slug: "{{name}}"
fields:
- { name: "name", label: "Name", widget: "string" }
- { name: "image", label: "Image", widget: "image", required: false }
- { name: "body", label: "Body", widget: "markdown", required: false }