This repository has been archived by the owner on Dec 23, 2021. It is now read-only.
/
_config.yml
450 lines (428 loc) · 12.2 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
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
# Website title - used in the <title> tag of the <head> section of the website.
title: Linaro Developer Cloud
# Name of the site - used to identify the site for setting the active class in the universal nav
name: Linaro Developer Cloud
# Description of the website used in the Meta Description.
description: > # this means to ignore newlines until "baseurl:"
An open cloud for development in the ARMv8 server ecosystem.
# Destination of the Jekyll site upon build of site.
destination: _site
# Include the Linaro Jekyll Theme
theme: jumbo-jekyll-theme
# Permalink for the blog posts of the Jekyll website.
permalink: /resources/:categories/:slug/
# Syntax highlighter for 96boards blog
highlighter: rouge
# Markdown version
markdown: kramdown
# production status for robots.txt and files alike.
production: false
kramdown:
input: GFM
syntax_highlighter: rouge # Syntax highlighter for Kramdown.
# Encoding of the files being included in the Jekyll Build.
encoding: utf-8
# Jekyll configuration for running the site in "Safe" mode.
safe: false
# Search label setting for site search with e.g. search/?fields.label=96Boards
search-label: LinaroCloud
# Disqus Comments settings.
disqus: true
disqus_shortname: "linarocloud"
# This is the url that is used when your site is built for canonicals etc.
url: "https://www.linaro.cloud"
# Make sure that Liquid errors stop the build
liquid:
error_mode: strict
# Shema.org Setup -> used in the schema.html include.
schema:
organisation:
name: Linaro Cloud
url: https://www.linaro.cloud
sameAs:
- https://twitter.com/linaroorg
- https://www.facebook.com/LinaroOrg
- https://www.linkedin.com/company/1026961/
- https://plus.google.com/+LinaroOnAir
- https://github.com/Linaro
- https://www.slideshare.net/linaroorg
address:
street: Harston Mill, Royston Rd
town: Harston
county: Cambridge
post_code: CB22 7GG
country_code: UK
# Files that should be excluded from the Jekyll build.
exclude:
- Gemfile
- Gemfile.lock
- _site
- vendor
- build-site.sh
- check-links.sh
- production.linaro.cloud
- staging.linaro.cloud
- README.md
# Google Tag mangager site wide setting - for deployment of site to China.
google-tag-manager: true
# Social Configuration for the Jekyll SEO plugin.
social:
name: Linaro Cloud
links:
- https://twitter.com/linaroorg
- https://www.facebook.com/LinaroOrg
- https://www.linkedin.com/company/1026961/
- https://plus.google.com/+LinaroOnAir
- https://github.com/Linaro
- https://www.slideshare.net/linaroorg
twitter:
username: linaroorg
defaults:
- scope:
path: ""
type: "posts"
values:
layout: post
comments: false
- scope:
path: ""
type: "authors"
values:
layout: author
- scope:
path: "/sitemap.xml"
values:
redirect_from: /sitemap/
- scope:
path: ""
values:
image: /assets/images/social-media-image.png
# Gems that should be included in the Jekyll builld of this site.
plugins:
- jekyll-seo-tag
- jekyll-sitemap
- jekyll-readme-index
- bootstrap-sass
- uglifier
- jekyll-assets
- jekyll-tidy
- jekyll-data
- jekyll-responsive-image
- jekyll-redirect-from
- autoprefixer-rails
- jekyll-paginate-v2
- jekyll-include-cache
# Compress the html and beau2tify it.
jekyll_tidy: # Compress the html and beautify it.
compress_html: true
exclude: [robots.txt] # Exclude the robots.txt file from removal of whitespace
# Jekyll Assets plugin - set js and css to true so it compresses on jekyll build
assets:
compress:
js: true
autoprefixer:
browsers: ["last 2 versions", "> 5%", "IE 9"]
sources:
- assets/js/
- assets/js/vendor/
- assets/js/app/
- assets/images
- assets/images/sponsors
- assets/images/featured-images
- assets/images/people
- assets/images/speakers
- assets/images/content
- assets/images/blog
- assets/css/
# Sass configuration - compressed and sass_dir of the root Jekyll assets folder.
sass:
style: compressed
load_paths:
- assets/css
#paginate_path: /:categories/:num/
# Jekyll Pagination V2 Configuration
pagination:
permalink: "/:num/"
enabled: true
per_page: 10
trail:
before: 2
after: 2
sort_reverse: true
sort_field: "date"
# Jekyll pagination v2 autopages configuration.
autopages:
enabled: false
using_assets: true
# Jekyll Collections configuration - Projects, Products and Documentation.
collections:
resources:
output: true
permalink: /:collection/:categories/:title/
keynotes:
output: true
permalink: /:collection/:path/
speakers:
output: true
permalink: /:collection/:path/
authors:
output: true
permalink: /author/:name/
# Jeykyll Responsive Image Configuration
responsive_image:
cache: false
# [Required]
# Path to the image template.
template: _includes/images/responsive-image.html
# [Optional, Default: 85]
# Quality to use when resizing images.
default_quality: 90
# [Optional, Default: []]
# An array of resize configuration objects. Each object must contain at least
# a `width` value.
sizes:
- width: 400 # [Required] How wide the resized image will be.
quality: 70 # [Optional] Overrides default_quality for this size.
- width: 800
quality: 70
# [Optional, Default: false]
# Rotate resized images depending on their EXIF rotation attribute. Useful for
# working with JPGs directly from digital cameras and smartphones
auto_rotate: false
# [Optional, Default: false]
# Strip EXIF and other JPEG profiles. Helps to minimize JPEG size and win friends
# at Google PageSpeed.
strip: false
# [Optional, Default: assets]
# The base directory where assets are stored. This is used to determine the
# `dirname` value in `output_path_format` below.
base_path: assets
# [Optional, Default: assets/resized/%{filename}-%{width}x%{height}.%{extension}]
# The template used when generating filenames for resized images. Must be a
# relative path.
#
# Parameters available are:
# %{dirname} Directory of the file relative to `base_path` (assets/sub/dir/some-file.jpg => sub/dir)
# %{basename} Basename of the file (assets/some-file.jpg => some-file.jpg)
# %{filename} Basename without the extension (assets/some-file.jpg => some-file)
# %{extension} Extension of the file (assets/some-file.jpg => jpg)
# %{width} Width of the resized image
# %{height} Height of the resized image
#
output_path_format: assets/resized/%{width}/%{basename}
# [Optional, Default: true]
# Whether or not to save the generated assets into the source folder.
save_to_source: false
# [Optional, Default: []]
# By default, only images referenced by the responsive_image and responsive_image_block
# tags are resized. Here you can set a list of paths or path globs to resize other
# images. This is useful for resizing images which will be referenced from stylesheets.
extra_images:
- assets/foo/bar.png
- assets/bgs/*.png
- assets/avatars/*.{jpeg,jpg}
include: ["_pages"]
title: Linaro Developer Cloud
url: https://www.linaro.cloud
baseurl: ""
description: |-
An open cloud for development in the ARMv8 server ecosystem.
destination: _site
permalink: /:categories/:title/
theme: linaro-jekyll-theme
highlighter: rouge
markdown: kramdown
kramdown:
input: GFM
syntax_highlighter: rouge
encoding: utf-8
safe: false
exclude:
- Gemfile
- Gemfile.lock
- .asset_pipeline
- build-site.sh
- check-links.sh
- CODEOWNERS
- README.md
- .gitignore
- .git
- .asset-cache
- _static-site
- .sass-cache
- staging.linaro.cloud
- production.linaro.cloud
# Breadcrumb banner image
breadcrumb_banner: /assets/images/content/code_banner.jpg
# Toggle the animated navbar dropdown feature
# Navbar dropdowns will open on hover
hover_nav_dropdowns: true
# Set the class used to animate dropdowns e.g. fade-up / fade-down
nav_dropdowns_animation_class: fade-down
# The bootstrap breakpoint at which the navbars will expand
nav_expand_breakpoint: lg
sass:
style: compressed
load_paths:
- assets/css
plugins:
- japr
- jekyll_picture_tag
- jekyll-tidy
collections:
company:
output: true
permalink: /membership/:name/
services:
output: true
core:
output: true
permalink: /:collection/:path/
authors:
output: true
permalink: /author/:name/
internships:
output: true
permalink: /careers/internships/:name/
liquid:
error_mode: strict
defaults:
- scope:
path: ""
values:
image: /assets/images/social-media-image.png
- scope:
path: "_pages"
values:
layout: flow
- scope:
type: posts
path: "_posts"
values:
layout: post
is_post: true
tags_enabled: true
comments: false
# image: /assets/images/content/code_banner.jpg
# strap_image: /assets/images/content/code_banner.jpg
include: ["_pages"]
# ----------- THEME / WEBSITE CONFIG ---------------------
# Blog images/thumbs dir
blog_images_dir: assets/images/content/
# Email
email: contact@linaro.org
# Company Address
address:
- Harston Mill
- Royston Rd, Harston
- Cambridge, United Kingdom
- CB22 7GG
# Support for http2 preload features
http2_resources:
- rel: preload
as: font
type: font/woff2
crossorigin: true
href: /assets/fonts/lato/Lato-regular.woff2
google_analytics:
enabled: false
code: UA-16756069-19
cookies:
necessary:
- name: cookieControl
description: >
This is used to control the display of the preferences pop up. Without this, we wouldn't know if you've clicked Accept!
- name: cookieControlPrefs
description: >
This is used to store your cookie preferences. Without this we wouldn't know which cookies you want!
marketing:
- name: _ga
description: >
2 years - Used to distinguish users.
- name: _gid
description: >
24 hours - Used to distinguish users.
- name: _gat
description: >
1 minute - Used to throttle request rate.
# Set the site-wide default social media share image.
social_media_share_image: /assets/images/social-media-image.png
# Set the default favicon
favicon: /assets/images/favicon.png
# Site Name - your brand name
name: Linaro Developer Cloud
# Placeholder avatar
avatar_placeholder: /assets/images/avatar-placeholder.jpg
# Blog Post Image Placeholder
post_placeholder: /assets/images/content/linaro-logo.png
# Social Media Links
social_media_channels:
github:
url: https://github.com/Linaro
linkedin:
url: https://www.linkedin.com/company/1026961
facebook:
url: http://facebook.com/LinaroOrg
youtube:
url: https://www.youtube.com/linaroorg
twitter:
url: https://twitter.com/linaroorg
instagram:
url: https://instagram.com/linaroorg
# Disqus Comments Setup
disqus:
enabled: false
shortname: Linaro
# Edit on GitHub Settings
edit-on-github:
enabled: true
repo: https://www.github.com/Linaro/cloud
# Breadcrumb schema
breadcrumb_schema: true
# Shema.org settings used in the schema.html include.
schema:
"@context": "https://schema.org"
"@type": "Organization"
"name": "Linaro"
"url": "https://www.linaro.org"
"email": "contact@linaro.org"
"logo": "https://www.linaro.org/assets/images/content/linaro-logo.png"
"contactPoint":
"@type": "ContactPoint"
"telephone": "01223 400060"
"contactType": "customer service"
"availableLanguage": "en"
"sameAs": "https://www.linaro.org"
# FESS search label
search_label: Linaro
# ----------- JEKYLL PLUGINS ---------------------
# -------- jekyll-tidy --------
jekyll_tidy:
# Toggle compression of HTML
compress_html: true
# JS Path added to exclude to stop errors.
exclude: ["assets/**/*.js", "robots.txt", "admin/config.yml"]
# -------- jekyll_relative_links --------
jekyll_relative_links:
process_all_collections: true
verbose: 1
relative_links:
enabled: true
collections: false
# -------- jekyll_relative_links --------
readme_index:
enabled: true
remove_originals: false
# -------- jekyll_picture_tag --------
picture:
nomarkdown: false
suppress_warnings: true
source: ""
output: "assets/images"
relative_url: true
# -------- japr --------
asset_pipeline:
bundle: true
compress: true
output_path: assets/js
gzip: true