forked from Linaro/Connect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yml
259 lines (236 loc) · 7.46 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
# Website title - used in the <title> tag of the <head> section of the website.
title: Linaro Connect Vancouver 2018 (YVR18)
# Name of the site - used to identify the site for setting the active class in the universal nav
name: Linaro Connect
# Description of the website used in the Meta Description.
description: > # this means to ignore newlines until "baseurl:"
Linaro Connect Vancouver 2018 (YVR18) will take place at the Hyatt Regency in Vancouver, 17-21 September 2018.
# Destination of the Jekyll site upon build of site.
destination: _site
# Code of current connect.
connect-code: YVR18
# 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: Linaro
# Disqus Comments settings.
disqus: true
disqus_shortname: 'linaroconnect'
# This is the url that is used when your site is built for canonicals etc.
url: "https://connect.linaro.org"
# url: "https://www.site-test.linaro.org"
# 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 Connect
url: https://www.connect.linaro.org
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.lock
- .gitignore
- .git
- .asset-cache
- _site
# - _posts
- vendor
- gems
- build.sh
- .bundle
# 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
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: resource-post
comments: true
- scope:
path: ""
type: "authors"
values:
layout: author
- scope:
path: ""
type: "speakers"
values:
layout: speaker
- scope:
path: ""
type: "keynotes"
values:
layout: keynote
- 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
# 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}