-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
33 lines (31 loc) · 1.27 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
media_folder: 'source/images/uploads'
public_folder: '/images/uploads'
collections:
- name: city_pages
label: City Pages
label_singular: City Page
identifier_field: de.title
folder: data/city_pages/
extension: yml
create: true
preview_path: "stadt/{{slug}}"
fields:
- { label: Title (DE), name: de.title, widget: string, required: true }
- { label: Title (EN), name: en.title, widget: string, required: true }
- { label: Description (DE), name: de.description, widget: text, required: true }
- { label: Description (EN), name: en.description, widget: text, required: true }
- { label: Tagline (DE), name: de.tagline, widget: string, required: true }
- { label: Tagline (EN), name: en.tagline, widget: string, required: true }
- name: jobs
label: Jobs
label_singular: Job
folder: data/jobs/
extension: yml
create: true
preview_path: "jobs/{{slug}}"
fields:
- { label: Title, name: title, widget: string, required: true }
- { label: Date, name: date, widget: date, required: true, format: 'YYYY-MM-DD' }
- { label: Description, name: description, widget: text, required: true }