-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
33 lines (31 loc) · 1.67 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
backend:
name: git-gateway
repo: criticalmash/asm-pager-test # Path to your Github repository
branch: master # Branch to update (master by default)
media_folder: "images/uploads" # Folder where user uploaded files should go
collections: # A list of collections the CMS should be able to edit
- name: "page" # Used in routes, e.g., /admin/collections/:slug/edit
label: "Pages" # Used in the UI, e.g., "New Post"
folder: "templates/content" # The path to the folder where the documents are stored
create: true # Allow users to create new documents in this collection
fields: # The fields each document in this collection have
- {label: "Title", name: "title", widget: "string", tagname: "h1"}
- {label: "Body", name: "body", widget: "markdown"}
- name: "news" # Used in routes, e.g., /admin/collections/:slug/edit
label: "News" # Used in the UI, e.g., "New Post"
folder: "templates/news" # The path to the folder where the documents are stored
create: true # Allow users to create new documents in this collection
fields: # The fields each document in this collection have
- {label: "Title", name: "title", widget: "string", tagname: "h1"}
- {label: "Body", name: "body", widget: "markdown"}
- label: "Testimonials"
name: "testimonials"
widget: "list"
fields:
- {label: Quote, name: quote, widget: string, default: "Everything is awesome!"}
- label: Author
name: author
widget: object
fields:
- {label: Name, name: name, widget: string, default: "Emmet"}
- {label: Avatar, name: avatar, widget: string, default: "/img/emmet.jpg"}