-
Notifications
You must be signed in to change notification settings - Fork 14
/
_config.yml
304 lines (288 loc) · 6.84 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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
# 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: "https://history.newtheatre.org.uk" # the base hostname & protocol for your site
ntbot_endpoint: "https://703eeix5l8.execute-api.eu-west-1.amazonaws.com/prod/issue" # For issue posting
assets_baseurl: "https://nthp-assets.s3.eu-west-1.amazonaws.com"
# 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
# Styling vars shared between (CSS and) HEAD
# (CSS now separate from Jekyll build)
color_nnt_purple: "#A54499"
color_nnt_orange: "#FFC425"
# Build settings
markdown: kramdown
permalink: pretty
strict_front_matter: true # Fail on invalid YAML
plugins:
- jekyll-sitemap
- jekyll-redirect-from
include:
- _headers
exclude:
- assets/
- bower.json
- coffeelint.json
- CONTRIBUTING.md
- Dockerfile
- LICENCE
- Gemfile
- Gemfile.lock
- googlee5aee69e17917677.html
- gulpfile.js
- images/
- lib/
- manifest.json
- node_modules/
- package.json
- Rakefile
- README.md
- run_dev.sh
- tmp/
- Vagrantfile
- vendor/
# Don't clean these in _site, we use gulp to generate them
keep_files:
- css
- googlee5aee69e17917677.html
- images
- js
- lib
- manifest.json
# skip_years: true
# skip_venues: true
# skip_seasons: true
# skip_virtual_people: true
# skip_opengraph: true
# enable_debug_table: true
# Specify year range for generation
year_start: 1940
year_end: 2023
# Estimation conf
estimate_recency_limit: 2 # How many years to wait until guessing someone has left
graduation_month: 6 # What month (1-12) do people tend to graduate in?
# Which seasons to prevent generation of 'missing content' boxes in
ignore_missing_in_seasons:
- 'External'
- 'Postgrads'
- 'STUFF'
- 'StuFF'
collections:
content:
output: true
permalink: :path/
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/
venues:
output: true
permalink: venues/:path/
seasons:
output: true
permalink: seasons/:path/
people:
output: true
permalink: people/:path/
defaults:
# Shows
- scope:
path: ""
type: shows
values:
layout: show
body_class: header-nobr
current: archives
period: unknown
# 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: ""
type: venues
values:
layout: venue
group: venue
body_class: header-nobr
current: archives
editable: false
- scope:
path: ""
type: seasons
values:
layout: season
group: season
body_class: header-nobr
current: archives
editable: false
# People
- scope:
path: ""
type: people
values:
layout: person
group: person
current: people
contact_allowed: false
placeholder: false
award: []
careers: []
links: []
news: []
- scope:
path: "about"
values:
current: about
- scope:
path: "docs"
values:
current: about
- scope:
path: "util"
values:
layout: util
group: util
sitemap: false
search: false
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
person_show_poster:
attr:
alt: Show poster
width: 200
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: 160
person_headshot_micro:
attr:
alt: Person headshot
width: 48
# Config for the prose editor
prose:
ignore: ['_bin', '_utilities', 'CNAME', '.gitignore', 'js', 'css', '_site', '_sass', '_layouts', '_includes', 'Gemfile', 'Gemfile.lock', 'lib', 'js', '_plugins', 'feeds', '_years', '.bowerrc', '.gitmodules', '_config.yml', 'bower.json', 'googlee5aee69e17917677.html', 'package.json', 'robots.txt']
siteurl: "https://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: "text"
label: "Venue"
help: "Venue show was performed in."
- 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