forked from newtheatre/history-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yml
211 lines (200 loc) · 5.38 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# Site settings
title: Nottingham New Theatre History Project
email: [email protected]
twitter: nntalumni
description: "Archive project collecting past shows, committees and alumni biographies to piece together the theatre's dynamic and vibrant history."
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://history.newtheatre.org.uk" # the base hostname & protocol for your site
# How many shows is too few for a year
year_low_shows: 16
# How many crew members is too few for a show
show_low_crew: 5
# How many members members is too few for a committee
committee_low_members: 12
# Build settings
markdown: kramdown
permalink: pretty
gems:
- jekyll-sitemap
- jekyll-redirect-from
- jekyll-coffeescript
# - jekyll-jsminify
exclude: [vendor, node_modules]
collections:
shows:
output: true
# Generate the legacy path for 301 redirect re. #142 Make semantic and pretty urls
permalink: years/:path/
committees:
output: true
permalink: years/:path/committee/
years:
output: true
permalink: years/:path/
people:
layout: person
output: true
permalink: people/:path/
defaults:
# Shows
- scope:
path: ""
type: shows
values:
layout: show
body_class: header-nobr
current: archives
# Committees
- scope:
path: ""
type: committees
values:
layout: committee
current: archives
# Years
- scope:
path: ""
type: years
values:
layout: year
group: year
body_class: header-nobr
current: archives
editable: false
sitemap: false
- scope:
path: "about"
values:
current: about
- scope:
path: "docs"
values:
current: about
image:
source: images
output: images/resized
presets:
show_poster_thumb:
attr:
class: show-poster-thumb
alt: Show poster
width: 40
show_poster_thumb_sr:
attr:
class: search-result-poster-thumb
alt: Show poster
width: 140
show_poster:
attr:
class: show-poster
alt: Show poster
width: 440
posterwall:
attr:
alt: Show poster
width: 440
show_asset:
attr:
alt: Show asset
width: 190
show_photo:
attr:
alt: Show photo
width: 300
person_headshot:
attr:
alt: Person headshot
width: 350
sass:
style: :compressed
lib:
js:
- lib/jquery/dist/jquery.js
- lib/underscore/underscore.js
- lib/fancybox/lib/jquery.mousewheel-3.0.6.pack.js
- lib/fancybox/source/jquery.fancybox.pack.js
- lib/fancybox/source/helpers/jquery.fancybox-buttons.js
- lib/fancybox/source/helpers/jquery.fancybox-media.js
- lib/fancybox/source/helpers/jquery.fancybox-thumbs.js
- lib/letteringjs/jquery.lettering.js
- lib/mousetrap/mousetrap.min.js
- lib/lunr.js/lunr.min.js
# Config for the prose editor
prose:
ignore: ['_bin', '_utilities', 'CNAME', '.gitignore', 'js', 'css', '_site', '_sass', '_layouts', '_includes', '.travis.yml', 'Gemfile', 'Gemfile.lock', 'lib', 'js', '_plugins', 'feeds', '_years', '.bowerrc', '.gitmodules', '_config.yml', 'bower.json', 'googlee5aee69e17917677.html', 'package.json', 'robots.txt']
siteurl: "http://history.newtheatre.org.uk"
media: "images"
metadata:
_shows:
- name: "published"
field:
element: "hidden"
value: true
- name: "title"
field:
element: "text"
label: "Show Name"
- name: "playwright"
field:
label: "Playwright"
element: "text"
- name: "student_written"
field:
label: "Student Written"
help: "Is this show written by an NT member?"
element: "boolean"
- name: "season"
field:
label: "Season"
element: "select"
options:
- name: "In House"
value: "In House"
- name: "Fringe"
value: "Fringe"
- name: "Edinburgh"
value: "Edinburgh"
- name: "season_sort"
field:
label: "Season Sort"
element: "text"
help: "Number used to sort the season. Use multiples of ten for flexibility, i.e. the third show of the season would be 30."
- name: "period"
field:
label: "Season Period"
element: "select"
options:
- name: "Autumn"
value: "Autumn"
- name: "Spring"
value: "Spring"
- name: "Edinburgh"
value: "Edinburgh"
- name: "venue"
field:
element: "multiselect"
label: "Venue"
help: "New Theatre, Studio A, Studio B or the name of an external venue. Only select one option."
alterable: true
options:
- name: "New Theatre"
value: "New Theatre"
- name: "Studio A"
value: "Studio A"
- name: "Studio B"
value: "Studio B"
- name: "date_start"
field:
element: "text"
label: "Start Date"
help: "Date of first performance in format YYYY-MM-DD"
- name: "date_end"
field:
element: "text"
label: "End Date"
help: "Date of last performance in format YYYY-MM-DD"
_committees:
- name: "published"
field:
element: "hidden"
value: true