jumbo-jekyll-theme 5.6.9.2 → 5.6.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -10
- data/_config.yml +213 -213
- data/_data/example-carousel-data-source.yml +36 -36
- data/_data/footer.yml +33 -33
- data/_data/nav.yml +17 -17
- data/_data/settings.yml +103 -103
- data/_data/tags.yml +11 -11
- data/_data/universal-nav.yml +7 -7
- data/_includes/breadcrumb.html +97 -97
- data/_includes/core/blocks.html +30 -30
- data/_includes/core/button.html +5 -5
- data/_includes/core/buttons.html +5 -5
- data/_includes/core/container_row.html +7 -7
- data/_includes/core/feature_block.html +43 -43
- data/_includes/core/full_width_row.html +5 -5
- data/_includes/core/members-section.html +32 -32
- data/_includes/core/slider.html +33 -33
- data/_includes/core/slider_row.html +2 -2
- data/_includes/core/title.html +3 -3
- data/_includes/core/youtube_video_embed.html +11 -11
- data/_includes/css.html +9 -9
- data/_includes/custom_include.html +13 -13
- data/_includes/custom_include_row.html +562 -562
- data/_includes/display-blog-posts.html +154 -154
- data/_includes/flow_inner.html +19 -19
- data/_includes/footer.html +68 -68
- data/_includes/google-analytics.html +16 -16
- data/_includes/head.html +19 -19
- data/_includes/image.html +6 -6
- data/_includes/javascript.html +10 -10
- data/_includes/jumbotron.html +115 -115
- data/_includes/linaro-404.html +19 -19
- data/_includes/nav.html +153 -153
- data/_includes/pagination.html +38 -38
- data/_includes/post-sidebar.html +182 -182
- data/_includes/responsive-image.html +5 -5
- data/_includes/schema.html +43 -43
- data/_includes/thumb.html +1 -1
- data/_includes/thumbnail_image.html +9 -9
- data/_includes/universal-nav.html +30 -30
- data/_layouts/author.html +5 -5
- data/_layouts/default.html +3 -3
- data/_layouts/error.html +25 -25
- data/_layouts/flow.html +35 -35
- data/_layouts/jumbotron.html +11 -11
- data/_layouts/post-index.html +16 -16
- data/_layouts/post.html +39 -39
- data/_sass/app/overrides.scss +65 -65
- data/_sass/app/search.scss +51 -51
- data/_sass/bootstrap/_variables.scss +932 -932
- data/_sass/core.scss +20 -20
- data/_sass/core/blog.scss +425 -425
- data/_sass/core/carousel-header.scss +90 -90
- data/_sass/core/error.scss +190 -190
- data/_sass/core/flow.scss +186 -186
- data/_sass/core/footer.scss +141 -141
- data/_sass/core/jumbotron.scss +279 -279
- data/_sass/core/normalize.scss +357 -357
- data/_sass/core/theme.scss +871 -871
- data/_sass/home.scss +2 -2
- data/assets/css/main-blog.scss +13 -13
- data/assets/css/main-error.scss +13 -13
- data/assets/css/main.scss +11 -11
- data/assets/js/app/facebook.js +7 -7
- data/assets/js/app/main.js +261 -261
- data/assets/js/pacakge-search.js +9 -9
- data/assets/js/package-blog.js +12 -12
- data/assets/js/package-extended.js +14 -14
- data/assets/js/package-home.js +14 -14
- data/assets/js/package-main.js +13 -13
- data/assets/js/package-search.js +8 -8
- data/assets/js/vendor/fess-ss.min.js +24 -24
- data/robots.txt +9 -9
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7adb46c1933f529f4c5991738c33dabe9730c8ccaa5e31adfc509f79803513ce
|
4
|
+
data.tar.gz: ea0acf68626e30898dbdf514d98bc11dbc4183243d48c1f6cd4c7be957a44cf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a9874e403a11df4086b53079f1a0cc4396b55e3a85affd4500db782079fce873f012c74b8204c41f490f8f2d247e84fa0e6c6d9801a278c8ba4e44e1e7c4843
|
7
|
+
data.tar.gz: 9a21473aee876d513bdb3bd72ff84814c9ebbb2913be78fef6d4dcb1571618957396784440294ec19ac8e78947fb2721a8c65ea67f6a2b1a91807b32e3bbda9b
|
data/README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
# Jumbo Jekyll Theme
|
2
|
-
|
3
|
-
This is an open source Jekyll theme built for use on the Linaro Jekyll static websites. This project aims to unify the styles and components of Linaro static websites and make it easier to replicate and deploy a new static site.
|
4
|
-
|
5
|
-
## Documentation
|
6
|
-
|
7
|
-
Documentation for the theme now lives under the [GitHub Wiki](https://github.com/linaro-marketing/jumbo-jekyll-theme/wiki).
|
8
|
-
|
9
|
-
## Contributions
|
10
|
-
|
1
|
+
# Jumbo Jekyll Theme
|
2
|
+
|
3
|
+
This is an open source Jekyll theme built for use on the Linaro Jekyll static websites. This project aims to unify the styles and components of Linaro static websites and make it easier to replicate and deploy a new static site.
|
4
|
+
|
5
|
+
## Documentation
|
6
|
+
|
7
|
+
Documentation for the theme now lives under the [GitHub Wiki](https://github.com/linaro-marketing/jumbo-jekyll-theme/wiki).
|
8
|
+
|
9
|
+
## Contributions
|
10
|
+
|
11
11
|
Contributions to the theme are welcome as there is always room for improvement! Please submit a PR with your features/improvements/fixes.
|
data/_config.yml
CHANGED
@@ -1,213 +1,213 @@
|
|
1
|
-
# Default Title of Site
|
2
|
-
title: jumbo-jekyll-theme (the advanced enterprise ready Jekyll theme)
|
3
|
-
# Description of the site used for default meta description
|
4
|
-
url: http://jumbojekyll.co.uk
|
5
|
-
baseurl: ""
|
6
|
-
description: |-
|
7
|
-
The jumbo-jekyll-theme is an advanced enterprise ready Jekyll theme used across the Linaro static websites.
|
8
|
-
# Destination of the Jekyll site upon build of site.
|
9
|
-
destination: _site
|
10
|
-
# Netflify CMS - Default repo branch
|
11
|
-
branch: master
|
12
|
-
# Default permalink for blog posts
|
13
|
-
permalink: /blog/:title/
|
14
|
-
# Jumbo Jekyll Theme
|
15
|
-
theme: jumbo-jekyll-theme
|
16
|
-
# Main Website Repo
|
17
|
-
github_repo: https://github.com/linaro-marketing/jumbo-jekyll-theme
|
18
|
-
# Syntax highlighter
|
19
|
-
highlighter: rouge
|
20
|
-
# Blog images/thumbs dir
|
21
|
-
blog_images_dir: assets/images/content/
|
22
|
-
# Markdown flavour used by Jekyll to parse markdown.
|
23
|
-
markdown: kramdown
|
24
|
-
kramdown:
|
25
|
-
input: GFM
|
26
|
-
syntax_highlighter: rouge # Syntax highlighter for Kramdown.
|
27
|
-
# Email
|
28
|
-
email: contact@linaro.org
|
29
|
-
# Company Address
|
30
|
-
address:
|
31
|
-
- Harston Mill
|
32
|
-
- Royston Rd, Harston
|
33
|
-
- Cambridge, United Kingdom
|
34
|
-
- CB22 7GG
|
35
|
-
# Default character encoding
|
36
|
-
encoding: utf-8
|
37
|
-
# Jekyll configuration for running the site in "Safe" mode.
|
38
|
-
safe: false
|
39
|
-
# Files Jekyll will ignore when building the static site.
|
40
|
-
exclude:
|
41
|
-
- Gemfile
|
42
|
-
- Gemfile.lock
|
43
|
-
- .gitignore
|
44
|
-
- .git
|
45
|
-
- .asset-cache
|
46
|
-
- _static-site
|
47
|
-
- .sass-cache
|
48
|
-
- _site
|
49
|
-
- jumbo-jekyll-theme*.gem
|
50
|
-
- jumbo-jekyll-theme*.gemspec
|
51
|
-
# Sass Configuration for the site styles
|
52
|
-
sass:
|
53
|
-
style: compressed
|
54
|
-
load_paths:
|
55
|
-
- assets/css
|
56
|
-
# Compress HTML using the jekyll-tidy plugin.
|
57
|
-
jekyll_tidy:
|
58
|
-
# Toggle compression of HTML
|
59
|
-
compress_html: true
|
60
|
-
# JS Path added to exclude to stop errors.
|
61
|
-
exclude: ["assets/**/*.js", "robots.txt", "admin/config.yml"]
|
62
|
-
# Permalink style to be used for paginating pages in pagination.html
|
63
|
-
paginate_path: /blog/:num/
|
64
|
-
paginate_path_news: /news/:num/
|
65
|
-
paginate_path_authors: /authors/:num/
|
66
|
-
# Jekyll Pagination V2 Configuration
|
67
|
-
pagination:
|
68
|
-
# Default pagination path for Jekyll Posts
|
69
|
-
# For other permalinks set in the front matter of the post index page
|
70
|
-
permalink: /:num/
|
71
|
-
# Enabled or not?
|
72
|
-
enabled: true
|
73
|
-
# Home many posts to display by default
|
74
|
-
per_page: 9
|
75
|
-
# Number of pages to show either side of the current page i.e - 1, 2, {3}, 4, 5
|
76
|
-
trail:
|
77
|
-
before: 2
|
78
|
-
after: 2
|
79
|
-
# Reverse the order of paginated pages
|
80
|
-
sort_reverse: true
|
81
|
-
# Field to sort posts by when paginating
|
82
|
-
sort_field: "date"
|
83
|
-
# Jekyll pagination v2 autopages configuration.
|
84
|
-
autopages:
|
85
|
-
enabled: false
|
86
|
-
# Jekyll_get plugin configuration. This will not be needed in all jekyll sites
|
87
|
-
# only those that are displaying news from the news db or listing Linaro members.
|
88
|
-
# jekyll_get:
|
89
|
-
# data: members
|
90
|
-
# json: 'https://github.com/Linaro/db'
|
91
|
-
# Jekyll defaults - used to set default front matter values to collections and posts
|
92
|
-
defaults:
|
93
|
-
# Set a default Social Media Image
|
94
|
-
- scope:
|
95
|
-
path: ""
|
96
|
-
values:
|
97
|
-
image: /assets/images/social-media-image.png
|
98
|
-
- scope:
|
99
|
-
type: posts
|
100
|
-
path: "_posts"
|
101
|
-
values:
|
102
|
-
layout: post
|
103
|
-
is_post: true
|
104
|
-
comments: true
|
105
|
-
- scope:
|
106
|
-
path: ""
|
107
|
-
type: "authors"
|
108
|
-
values:
|
109
|
-
layout: author
|
110
|
-
# Jekyll Assets setup
|
111
|
-
assets:
|
112
|
-
# Compress JS Assets - uses the uglifier
|
113
|
-
compression: true
|
114
|
-
compress:
|
115
|
-
js: true
|
116
|
-
gzip: true
|
117
|
-
# Autoprefixer default settings
|
118
|
-
autoprefixer:
|
119
|
-
browsers: ["last 2 versions", "> 5%", "IE 9"]
|
120
|
-
# These are the paths to look for assets
|
121
|
-
sources:
|
122
|
-
- assets/js/
|
123
|
-
- assets/images/
|
124
|
-
- assets/css/
|
125
|
-
# Jekyll relative links plugin settings
|
126
|
-
jekyll_relative_links:
|
127
|
-
process_all_collections: true
|
128
|
-
verbose: 1
|
129
|
-
relative_links:
|
130
|
-
enabled: true
|
131
|
-
collections: false
|
132
|
-
plugins:
|
133
|
-
- jekyll-seo-tag
|
134
|
-
- uglifier
|
135
|
-
- jekyll-assets
|
136
|
-
- jekyll-theme-assets-updated
|
137
|
-
- jekyll-tidy
|
138
|
-
- jekyll-redirect-from
|
139
|
-
- jekyll-responsive-image
|
140
|
-
- autoprefixer-rails
|
141
|
-
- jekyll-paginate-v2
|
142
|
-
collections:
|
143
|
-
authors:
|
144
|
-
output: true
|
145
|
-
permalink: /author/:name/
|
146
|
-
# Make sure that Liquid errors stop the build
|
147
|
-
liquid:
|
148
|
-
error_mode: strict
|
149
|
-
readme_index:
|
150
|
-
enabled: true
|
151
|
-
remove_originals: false
|
152
|
-
# Jeykyll Responsive Image Configuration
|
153
|
-
responsive_image:
|
154
|
-
cache: false
|
155
|
-
# [Required]
|
156
|
-
# Path to the image template.
|
157
|
-
template: _includes/images/responsive-image.html
|
158
|
-
|
159
|
-
# [Optional, Default: 85]
|
160
|
-
# Quality to use when resizing images.
|
161
|
-
default_quality: 90
|
162
|
-
|
163
|
-
# [Optional, Default: []]
|
164
|
-
# An array of resize configuration objects. Each object must contain at least
|
165
|
-
# a `width` value.
|
166
|
-
sizes:
|
167
|
-
- width: 400 # [Required] How wide the resized image will be.
|
168
|
-
quality: 70 # [Optional] Overrides default_quality for this size.
|
169
|
-
- width: 800
|
170
|
-
quality: 70
|
171
|
-
|
172
|
-
# [Optional, Default: false]
|
173
|
-
# Rotate resized images depending on their EXIF rotation attribute. Useful for
|
174
|
-
# working with JPGs directly from digital cameras and smartphones
|
175
|
-
auto_rotate: false
|
176
|
-
|
177
|
-
# [Optional, Default: false]
|
178
|
-
# Strip EXIF and other JPEG profiles. Helps to minimize JPEG size and win friends
|
179
|
-
# at Google PageSpeed.
|
180
|
-
strip: false
|
181
|
-
|
182
|
-
# [Optional, Default: assets]
|
183
|
-
# The base directory where assets are stored. This is used to determine the
|
184
|
-
# `dirname` value in `output_path_format` below.
|
185
|
-
base_path: assets
|
186
|
-
|
187
|
-
# [Optional, Default: assets/resized/%{filename}-%{width}x%{height}.%{extension}]
|
188
|
-
# The template used when generating filenames for resized images. Must be a
|
189
|
-
# relative path.
|
190
|
-
#
|
191
|
-
# Parameters available are:
|
192
|
-
# %{dirname} Directory of the file relative to `base_path` (assets/sub/dir/some-file.jpg => sub/dir)
|
193
|
-
# %{basename} Basename of the file (assets/some-file.jpg => some-file.jpg)
|
194
|
-
# %{filename} Basename without the extension (assets/some-file.jpg => some-file)
|
195
|
-
# %{extension} Extension of the file (assets/some-file.jpg => jpg)
|
196
|
-
# %{width} Width of the resized image
|
197
|
-
# %{height} Height of the resized image
|
198
|
-
#
|
199
|
-
output_path_format: assets/resized/%{width}/%{basename}
|
200
|
-
|
201
|
-
# [Optional, Default: true]
|
202
|
-
# Whether or not to save the generated assets into the source folder.
|
203
|
-
save_to_source: false
|
204
|
-
|
205
|
-
# [Optional, Default: []]
|
206
|
-
# By default, only images referenced by the responsive_image and responsive_image_block
|
207
|
-
# tags are resized. Here you can set a list of paths or path globs to resize other
|
208
|
-
# images. This is useful for resizing images which will be referenced from stylesheets.
|
209
|
-
extra_images:
|
210
|
-
- assets/foo/bar.png
|
211
|
-
- assets/bgs/*.png
|
212
|
-
- assets/avatars/*.{jpeg,jpg}
|
213
|
-
include: ["_pages"]
|
1
|
+
# Default Title of Site
|
2
|
+
title: jumbo-jekyll-theme (the advanced enterprise ready Jekyll theme)
|
3
|
+
# Description of the site used for default meta description
|
4
|
+
url: http://jumbojekyll.co.uk
|
5
|
+
baseurl: ""
|
6
|
+
description: |-
|
7
|
+
The jumbo-jekyll-theme is an advanced enterprise ready Jekyll theme used across the Linaro static websites.
|
8
|
+
# Destination of the Jekyll site upon build of site.
|
9
|
+
destination: _site
|
10
|
+
# Netflify CMS - Default repo branch
|
11
|
+
branch: master
|
12
|
+
# Default permalink for blog posts
|
13
|
+
permalink: /blog/:title/
|
14
|
+
# Jumbo Jekyll Theme
|
15
|
+
theme: jumbo-jekyll-theme
|
16
|
+
# Main Website Repo
|
17
|
+
github_repo: https://github.com/linaro-marketing/jumbo-jekyll-theme
|
18
|
+
# Syntax highlighter
|
19
|
+
highlighter: rouge
|
20
|
+
# Blog images/thumbs dir
|
21
|
+
blog_images_dir: assets/images/content/
|
22
|
+
# Markdown flavour used by Jekyll to parse markdown.
|
23
|
+
markdown: kramdown
|
24
|
+
kramdown:
|
25
|
+
input: GFM
|
26
|
+
syntax_highlighter: rouge # Syntax highlighter for Kramdown.
|
27
|
+
# Email
|
28
|
+
email: contact@linaro.org
|
29
|
+
# Company Address
|
30
|
+
address:
|
31
|
+
- Harston Mill
|
32
|
+
- Royston Rd, Harston
|
33
|
+
- Cambridge, United Kingdom
|
34
|
+
- CB22 7GG
|
35
|
+
# Default character encoding
|
36
|
+
encoding: utf-8
|
37
|
+
# Jekyll configuration for running the site in "Safe" mode.
|
38
|
+
safe: false
|
39
|
+
# Files Jekyll will ignore when building the static site.
|
40
|
+
exclude:
|
41
|
+
- Gemfile
|
42
|
+
- Gemfile.lock
|
43
|
+
- .gitignore
|
44
|
+
- .git
|
45
|
+
- .asset-cache
|
46
|
+
- _static-site
|
47
|
+
- .sass-cache
|
48
|
+
- _site
|
49
|
+
- jumbo-jekyll-theme*.gem
|
50
|
+
- jumbo-jekyll-theme*.gemspec
|
51
|
+
# Sass Configuration for the site styles
|
52
|
+
sass:
|
53
|
+
style: compressed
|
54
|
+
load_paths:
|
55
|
+
- assets/css
|
56
|
+
# Compress HTML using the jekyll-tidy plugin.
|
57
|
+
jekyll_tidy:
|
58
|
+
# Toggle compression of HTML
|
59
|
+
compress_html: true
|
60
|
+
# JS Path added to exclude to stop errors.
|
61
|
+
exclude: ["assets/**/*.js", "robots.txt", "admin/config.yml"]
|
62
|
+
# Permalink style to be used for paginating pages in pagination.html
|
63
|
+
paginate_path: /blog/:num/
|
64
|
+
paginate_path_news: /news/:num/
|
65
|
+
paginate_path_authors: /authors/:num/
|
66
|
+
# Jekyll Pagination V2 Configuration
|
67
|
+
pagination:
|
68
|
+
# Default pagination path for Jekyll Posts
|
69
|
+
# For other permalinks set in the front matter of the post index page
|
70
|
+
permalink: /:num/
|
71
|
+
# Enabled or not?
|
72
|
+
enabled: true
|
73
|
+
# Home many posts to display by default
|
74
|
+
per_page: 9
|
75
|
+
# Number of pages to show either side of the current page i.e - 1, 2, {3}, 4, 5
|
76
|
+
trail:
|
77
|
+
before: 2
|
78
|
+
after: 2
|
79
|
+
# Reverse the order of paginated pages
|
80
|
+
sort_reverse: true
|
81
|
+
# Field to sort posts by when paginating
|
82
|
+
sort_field: "date"
|
83
|
+
# Jekyll pagination v2 autopages configuration.
|
84
|
+
autopages:
|
85
|
+
enabled: false
|
86
|
+
# Jekyll_get plugin configuration. This will not be needed in all jekyll sites
|
87
|
+
# only those that are displaying news from the news db or listing Linaro members.
|
88
|
+
# jekyll_get:
|
89
|
+
# data: members
|
90
|
+
# json: 'https://github.com/Linaro/db'
|
91
|
+
# Jekyll defaults - used to set default front matter values to collections and posts
|
92
|
+
defaults:
|
93
|
+
# Set a default Social Media Image
|
94
|
+
- scope:
|
95
|
+
path: ""
|
96
|
+
values:
|
97
|
+
image: /assets/images/social-media-image.png
|
98
|
+
- scope:
|
99
|
+
type: posts
|
100
|
+
path: "_posts"
|
101
|
+
values:
|
102
|
+
layout: post
|
103
|
+
is_post: true
|
104
|
+
comments: true
|
105
|
+
- scope:
|
106
|
+
path: ""
|
107
|
+
type: "authors"
|
108
|
+
values:
|
109
|
+
layout: author
|
110
|
+
# Jekyll Assets setup
|
111
|
+
assets:
|
112
|
+
# Compress JS Assets - uses the uglifier
|
113
|
+
compression: true
|
114
|
+
compress:
|
115
|
+
js: true
|
116
|
+
gzip: true
|
117
|
+
# Autoprefixer default settings
|
118
|
+
autoprefixer:
|
119
|
+
browsers: ["last 2 versions", "> 5%", "IE 9"]
|
120
|
+
# These are the paths to look for assets
|
121
|
+
sources:
|
122
|
+
- assets/js/
|
123
|
+
- assets/images/
|
124
|
+
- assets/css/
|
125
|
+
# Jekyll relative links plugin settings
|
126
|
+
jekyll_relative_links:
|
127
|
+
process_all_collections: true
|
128
|
+
verbose: 1
|
129
|
+
relative_links:
|
130
|
+
enabled: true
|
131
|
+
collections: false
|
132
|
+
plugins:
|
133
|
+
- jekyll-seo-tag
|
134
|
+
- uglifier
|
135
|
+
- jekyll-assets
|
136
|
+
- jekyll-theme-assets-updated
|
137
|
+
- jekyll-tidy
|
138
|
+
- jekyll-redirect-from
|
139
|
+
- jekyll-responsive-image
|
140
|
+
- autoprefixer-rails
|
141
|
+
- jekyll-paginate-v2
|
142
|
+
collections:
|
143
|
+
authors:
|
144
|
+
output: true
|
145
|
+
permalink: /author/:name/
|
146
|
+
# Make sure that Liquid errors stop the build
|
147
|
+
liquid:
|
148
|
+
error_mode: strict
|
149
|
+
readme_index:
|
150
|
+
enabled: true
|
151
|
+
remove_originals: false
|
152
|
+
# Jeykyll Responsive Image Configuration
|
153
|
+
responsive_image:
|
154
|
+
cache: false
|
155
|
+
# [Required]
|
156
|
+
# Path to the image template.
|
157
|
+
template: _includes/images/responsive-image.html
|
158
|
+
|
159
|
+
# [Optional, Default: 85]
|
160
|
+
# Quality to use when resizing images.
|
161
|
+
default_quality: 90
|
162
|
+
|
163
|
+
# [Optional, Default: []]
|
164
|
+
# An array of resize configuration objects. Each object must contain at least
|
165
|
+
# a `width` value.
|
166
|
+
sizes:
|
167
|
+
- width: 400 # [Required] How wide the resized image will be.
|
168
|
+
quality: 70 # [Optional] Overrides default_quality for this size.
|
169
|
+
- width: 800
|
170
|
+
quality: 70
|
171
|
+
|
172
|
+
# [Optional, Default: false]
|
173
|
+
# Rotate resized images depending on their EXIF rotation attribute. Useful for
|
174
|
+
# working with JPGs directly from digital cameras and smartphones
|
175
|
+
auto_rotate: false
|
176
|
+
|
177
|
+
# [Optional, Default: false]
|
178
|
+
# Strip EXIF and other JPEG profiles. Helps to minimize JPEG size and win friends
|
179
|
+
# at Google PageSpeed.
|
180
|
+
strip: false
|
181
|
+
|
182
|
+
# [Optional, Default: assets]
|
183
|
+
# The base directory where assets are stored. This is used to determine the
|
184
|
+
# `dirname` value in `output_path_format` below.
|
185
|
+
base_path: assets
|
186
|
+
|
187
|
+
# [Optional, Default: assets/resized/%{filename}-%{width}x%{height}.%{extension}]
|
188
|
+
# The template used when generating filenames for resized images. Must be a
|
189
|
+
# relative path.
|
190
|
+
#
|
191
|
+
# Parameters available are:
|
192
|
+
# %{dirname} Directory of the file relative to `base_path` (assets/sub/dir/some-file.jpg => sub/dir)
|
193
|
+
# %{basename} Basename of the file (assets/some-file.jpg => some-file.jpg)
|
194
|
+
# %{filename} Basename without the extension (assets/some-file.jpg => some-file)
|
195
|
+
# %{extension} Extension of the file (assets/some-file.jpg => jpg)
|
196
|
+
# %{width} Width of the resized image
|
197
|
+
# %{height} Height of the resized image
|
198
|
+
#
|
199
|
+
output_path_format: assets/resized/%{width}/%{basename}
|
200
|
+
|
201
|
+
# [Optional, Default: true]
|
202
|
+
# Whether or not to save the generated assets into the source folder.
|
203
|
+
save_to_source: false
|
204
|
+
|
205
|
+
# [Optional, Default: []]
|
206
|
+
# By default, only images referenced by the responsive_image and responsive_image_block
|
207
|
+
# tags are resized. Here you can set a list of paths or path globs to resize other
|
208
|
+
# images. This is useful for resizing images which will be referenced from stylesheets.
|
209
|
+
extra_images:
|
210
|
+
- assets/foo/bar.png
|
211
|
+
- assets/bgs/*.png
|
212
|
+
- assets/avatars/*.{jpeg,jpg}
|
213
|
+
include: ["_pages"]
|