forked from p2pu/erasmus-partner-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
103 lines (101 loc) · 3.8 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
backend:
name: github
repo: p2pu/detroit-digital
branch: gh-pages # Branch to update (optional; defaults to master)
media_folder: assets/img
collections:
- name: 'pages'
label: 'Pages'
editor:
preview: false
files:
- label: 'Navigation'
name: 'navigation'
file: '_data/nav.yml'
fields:
- label: 'Top navigation'
name: 'topnav'
widget: list
fields:
- { label: 'Link title', name: 'title', widget: 'string' }
- { label: 'Link URL', name: 'url', widget: 'string' }
- label: 'Organization link'
name: 'org'
widget: object
fields:
- { label: 'Organization URL', name: 'url', widget: 'string' }
- { label: 'Organization logo', name: 'logo_url', widget: 'image'}
- label: 'Landing page'
name: 'index'
file: 'index.md'
fields:
- { label: 'Layout', name: 'layout', widget: 'hidden', default: 'about' }
- { label: 'Header', name: 'header_text', widget: 'string' }
- { label: 'Hero', name: 'hero', widget: 'markdown' }
- { label: 'Search title', name: 'search_title', widget: 'string' }
- { label: 'Image attribution', name: 'image_attribution', widget: 'markdown', required: false }
- label: 'About page'
name: 'about'
file: 'about.md'
fields:
- { label: 'Title', name: 'title', widget: 'string'}
- { label: 'About', name: 'about', widget: 'markdown'}
- { label: 'FAQ title', name: 'faq_title', widget: 'string'}
- label: 'FAQ'
name: 'faq'
widget: 'list'
fields:
- { label: 'Question', name: 'q', widget: 'string' }
- { label: 'Answer', name: 'a', widget: 'markdown' }
- label: 'Facilitate page'
name: facilitate
file: facilitate.md
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Welcome message', name: 'welcome', widget: 'markdown' }
- { label: 'Title for resources', name: 'resources_title', widget: string }
- label: List of resources
name: resources
widget: list
fields:
- { label: 'Resource title', name: 'title', widget: 'string' }
- { label: 'Resource URL', name: 'url', widget: 'string' }
- { label: 'Resource image', name: 'image', widget: 'image' }
- label: 'Course search page'
name: courses
file: courses.md
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Description', name: 'description', widget: 'markdown' }
- label: 'GDPR page'
name: gdpr
file: gdpr.md
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'GDPR copy', name: 'gdpr_copy', widget: markdown }
- label: 'Website footer'
name: footer
file: _data/footer.yml
fields:
- label: Social media links
name: socials
widget: list
fields:
- { label: 'Text', name: 'text', widget: 'string' }
- { label: 'URL', name: 'url' , widget: 'string'}
- { label: 'Fontawesome icon class', name: 'icon_class' , widget: 'string', required: false }
- { label: 'Project link', name: 'project_link', widget: 'string' }
- { label: 'Licence copy', name: 'license', widget: 'string' }
- { label: 'About P2PU', name: 'about_orgs', widget: 'string' }
- label: Terms of service
name: tos
widget: object
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'URL', name: 'url' , widget: 'string'}
- label: Privacy
name: privacy
widget: object
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'URL', name: 'url' , widget: 'string'}