linaro-jekyll-theme 4.2.0 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fab8bda675a0245790de866e06a17402ab42cb4f26fd1f2505dfa6f0603ee3eb
4
- data.tar.gz: 594172c96c574de0b37870e659327d296047a2cfd83ebb142ece2555083212d0
3
+ metadata.gz: a366c769d532011c265a81837fd1525ca2b532aba0480ca052f2766d5856026b
4
+ data.tar.gz: ae310377d184f0dc5f4f3342389366fa19aa50caf52da6a6e0f575d1a012a201
5
5
  SHA512:
6
- metadata.gz: bb89de18aad2eebfb88630c4f68603d6c79404e3607eb66c8d9745323578f78d3c90bd16dade1cf2a9f67383cc53daf73ebaaed041ee7e677028e9634be6f10c
7
- data.tar.gz: 37011c5e78abd009f29e51bbab2b066437d2148a6b1320982235b44c2313a8df4bc2aed9da5296de5c2564279dbd88ddebf7d9daff2ac317ab5b05fedac1fa08
6
+ metadata.gz: 10bf8266a08badcab4a49bb16895ace028a5294758ef47b3d69c483b3a2cc998af78211751dac1fef706c9331452328d56b2488224ba4c88ebee51273372a687
7
+ data.tar.gz: '039aebb1d6dd20d3187d15399f3e48ba85831b922dfb9d4ac6a496d3c616963c2d943921af2d53774256df7d0e439e70f8c53aa535a5c8d44164768084efa27f'
@@ -73,86 +73,108 @@ markup_presets:
73
73
  img: 'class="lazyload img-fluid blog_content_image "'
74
74
  formats: [webp, original]
75
75
  widths: [400, 800, 1200]
76
+ fallback_format: original
77
+ fallback_width: 1200
76
78
  members_image:
77
79
  markup: data_picture
78
80
  attributes:
79
81
  img: 'class="lazyload img-fluid members_image "'
80
82
  formats: [webp, original]
81
83
  widths: [100, 200, 300, 400]
84
+ fallback_format: original
85
+ fallback_width: 400
82
86
  header_image:
83
87
  markup: data_auto
84
88
  attributes:
85
89
  img: 'class="lazyload header_background_image"'
86
90
  formats: [webp, original]
87
91
  widths: [576, 768, 992, 1200]
88
- fallback_format: webp
89
- fallback_width: 1920
92
+ fallback_format: original
93
+ fallback_width: 1200
90
94
  content_image:
91
95
  markup: data_auto
92
96
  attributes:
93
97
  img: 'class="lazyload img-fluid content_image"'
94
98
  formats: [webp, original]
95
99
  widths: [576, 768, 992, 1200]
96
- fallback_format: webp
97
- fallback_width: 1920
100
+ fallback_format: original
101
+ fallback_width: 992
98
102
  header_slider_image:
99
103
  markup: data_picture
100
104
  attributes:
101
105
  source: 'class="owl-lazy"'
102
106
  img: 'class="owl-lazy header_background_image"'
103
107
  formats: [webp, original]
108
+ fallback_format: original
109
+ fallback_width: 1200
104
110
  widths: [400, 800, 1200, 1920]
105
111
  card_block_image:
106
112
  markup: data_picture
107
113
  attributes:
108
114
  img: 'class="lazyload card-img-top"'
109
115
  formats: [webp, original]
116
+ fallback_format: original
117
+ fallback_width: 600
110
118
  widths: [400, 600]
111
119
  feature_block_image:
112
120
  markup: data_picture
113
121
  attributes:
114
122
  img: 'class="lazyload img-fluid"'
115
123
  formats: [webp, original]
124
+ fallback_format: original
125
+ fallback_width: 900
116
126
  widths: [400, 600, 900, 1400]
117
127
  featured_blog_image:
118
128
  markup: data_picture
119
129
  attributes:
120
130
  img: 'class="lazyload img-fluid post_index_header_image"'
121
131
  formats: [webp, original]
132
+ fallback_format: original
133
+ fallback_width: 900
122
134
  widths: [400, 600, 900, 1400]
123
135
  slider_block_image:
124
136
  markup: data_picture
125
137
  attributes:
126
138
  img: 'class="lazyload img-fluid"'
127
139
  formats: [webp, original]
140
+ fallback_format: original
141
+ fallback_width: 900
128
142
  widths: [400, 600, 900, 1400]
129
143
  youtube_poster_image:
130
144
  markup: direct_url
131
145
  attributes:
132
146
  img: 'class="lazyload img-fluid"'
133
147
  formats: [webp, original]
148
+ fallback_format: original
149
+ fallback_width: 900
134
150
  widths: [400, 600, 900, 1400]
135
151
  author_thumbnail:
136
152
  markup: data_picture
137
153
  attributes:
138
154
  img: 'class="lazyload rounded-circle"'
139
155
  formats: [webp, original]
156
+ fallback_format: original
157
+ fallback_width: 100
140
158
  widths: [50, 100]
141
159
  author_thumbnail_small:
142
160
  markup: data_picture
143
161
  attributes:
144
162
  img: 'class="lazyload rounded-circle small"'
145
163
  formats: [webp, original]
164
+ fallback_format: original
165
+ fallback_width: 100
146
166
  widths: [50, 100]
147
167
  post_thumb:
148
168
  markup: data_picture
149
169
  attributes:
150
170
  img: 'class="lazyload mr-3 img-thumbnail suggested_post_thumb"'
151
171
  formats: [webp, original]
172
+ fallback_format: original
173
+ fallback_width: 400
152
174
  widths: [50, 100, 400]
153
175
  post_thumb_src_only:
154
176
  markup: direct_url
155
- fallback_format: webp
177
+ fallback_format: original
156
178
  fallback_width: 400
157
179
  widths: [400]
158
180
  breadcrumb_banner:
@@ -160,4 +182,6 @@ markup_presets:
160
182
  attributes:
161
183
  img: 'class="lazyload breadcrumb_image"'
162
184
  formats: [webp, original]
185
+ fallback_format: original
186
+ fallback_width: 1200
163
187
  widths: [1000, 1200, 2000]
@@ -1,22 +1,35 @@
1
1
  items:
2
2
  - active: true
3
3
  title: Linaro
4
- url: 'https://www.linaro.org/'
4
+ url: "https://www.linaro.org/"
5
5
  - title: Connect
6
- url: 'https://connect.linaro.org'
6
+ url: "https://connect.linaro.org"
7
7
  - title: 96Boards
8
- url: 'https://www.96boards.org'
9
- - title: Developer Cloud
10
- url: 'https://linaro.cloud'
8
+ url: "https://www.96boards.org"
9
+ - title: Twitter
10
+ icon: icon-twitter
11
+ url: "https://twitter.com/LinaroOrg"
12
+ - title: Facebook
13
+ icon: icon-facebook
14
+ url: "http://facebook.com/LinaroOrg"
15
+ - title: LinkedIn
16
+ icon: icon-linkedin
17
+ url: "https://www.linkedin.com/company/1026961"
18
+ - title: YouTube
19
+ icon: icon-youtube
20
+ url: "https://www.youtube.com/LinaroOrg"
11
21
  - options:
12
22
  - title: 96Boards.ai
13
- url: 'https://www.96boards.ai'
23
+ url: "https://www.96boards.ai"
24
+ - title: Developer Cloud
25
+ url: "https://linaro.cloud"
14
26
  - title: devicetree.org
15
- url: 'https://www.devicetree.org'
27
+ url: "https://www.devicetree.org"
16
28
  - title: OpenAMP
17
- url: 'https://www.openampproject.org'
29
+ url: "https://www.openampproject.org"
18
30
  - title: OP-TEE
19
- url: 'https://www.op-tee.org'
31
+ url: "https://www.op-tee.org"
20
32
  - title: Trusted Firmware
21
- url: 'https://www.trustedfirmware.org/'
33
+ url: "https://www.trustedfirmware.org/"
34
+ hamburger_toggle: true
22
35
  title: Projects
@@ -2,6 +2,7 @@
2
2
  - /assets/js/vendor/jquery.js
3
3
  - /assets/js/vendor/_popper.js
4
4
  - /assets/js/vendor/bootstrap.js
5
+ - /assets/js/vendor/ofi.js
5
6
  - /assets/js/vendor/jquery.cookie.js
6
7
  - /assets/js/vendor/jquery.ihavecookies.js
7
8
  - /assets/js/vendor/lazysizes.js
@@ -1,6 +1,6 @@
1
1
  {% assign nav_expand_point = site.nav_expand_breakpoint %}
2
2
  <!-- Universal NavBar-->
3
- <nav class="navbar navbar-expand-{{nav_expand_point}} navbar-dark {% if site.hover_nav_dropdowns %}hover_animated{% endif %}" id="universal_nav">
3
+ <nav class="navbar navbar-expand-{{nav_expand_point}} navbar-dark" id="universal_nav">
4
4
  <div class="container">
5
5
  <button class="navbar-toggler collapsed ml-auto" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
6
6
  aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
@@ -14,23 +14,52 @@
14
14
  <ul class="navbar-nav ml-auto">
15
15
  {% for item in site.data.universal_nav.items %}
16
16
  {% if item.options %}
17
- <li class="nav-item dropdown {% for project-site in item.options %}{% if project-site.active %}active{% break %}{% endif %}{% endfor %}">
18
- <a class="nav-link dropdown-toggle" target="_self" href="#" id="universalNavbarDropdown" aria-label="Toggle unviersal navigation" role="button" data-toggle="dropdown"
17
+ <li class="nav-item dropdown {% if item.hamburger_toggle %}dropdown_hamburger{% endif %} {% for project-site in item.options %}{% if project-site.active %}active{% break %}{% endif %}{% endfor %}">
18
+ {% if item.hamburger_toggle %}
19
+ <button class="ml-auto mt-1 d-none d-{{nav_expand_point}}-block" type="button" role="button" data-toggle="dropdown"
20
+ aria-haspopup="true" aria-expanded="false" aria-label="Toggle {{item.title}} Dropdown">
21
+ <span class="icon-bar"></span>
22
+ <span class="icon-bar"></span>
23
+ <span class="icon-bar"></span>
24
+ <span class="sr-only d-none">Toggle navigation</span>
25
+ </button>
26
+ <a class="nav-link dropdown-toggle d-block d-{{nav_expand_point}}-none" target="_self" href="#" id="universalNavbarDropdown" aria-label="Toggle unviersal navigation" role="button" data-toggle="dropdown"
19
27
  aria-haspopup="true" aria-expanded="false">
20
- {{item.title}}
21
- </a>
22
- <div class="dropdown-menu {% if site.nav_dropdowns_animation_class %}{{site.nav_dropdowns_animation_class}}{% endif %}" aria-labelledby="universalNavbarDropdown">
28
+ {{item.title}}
29
+ </a>
30
+ {% else %}
31
+ <a class="nav-link dropdown-toggle" target="_self" href="#" id="universalNavbarDropdown" aria-label="Toggle unviersal navigation" role="button" data-toggle="dropdown"
32
+ aria-haspopup="true" aria-expanded="false">
33
+ {{item.title}}
34
+ </a>
35
+ {% endif %}
36
+ <div class="dropdown-menu dropdown-menu-right" aria-labelledby="universalNavbarDropdown">
23
37
  {% for project-site in item.options %}
24
38
  <a class="dropdown-item {% if project-site.active %}active{% endif%}" href="{{project-site.url}}">{{project-site.title}}</a>
25
39
  {% endfor %}
26
40
  </div>
27
41
  </li>
28
42
  {% else %}
29
- <li class="nav-item {% if item.active %}active{% endif %}">
30
- <a target="_self" class="nav-link" href="{{item.url}}">{{item.title}} <span class="sr-only">(current)</span></a>
43
+ <li class="nav-item {% if item.icon %}nav-item-icon d-none d-{{nav_expand_point}}-block{% endif %} {% if item.active %}active{% endif %}">
44
+ <a target="_self" class="nav-link" href="{{item.url}}">
45
+ {% if item.icon %}
46
+ <span class="{{item.icon}}"></span>
47
+ {% else %}
48
+ {{item.title}}
49
+ {% endif %}
50
+ <span class="sr-only">(current)</span></a>
31
51
  </li>
32
52
  {% endif %}
33
53
  {% endfor %}
54
+ <li class="nav-item nav-item-icon d-block d-{{nav_expand_point}}-none">
55
+ {% for item in site.data.universal_nav.items %}
56
+ {% if item.icon %}
57
+ <a target="_blank" class="nav-link" href="{{item.url}}">
58
+ <span class="{{item.icon}}"></span>
59
+ </a>
60
+ {% endif %}
61
+ {% endfor %}
62
+ </li>
34
63
  </ul>
35
64
  </div>
36
65
  </div>
@@ -8,8 +8,12 @@ $theme-colors: (
8
8
  );
9
9
  // Universal Navbar
10
10
  $universal_navbar_height_padding: 0px;
11
- $universal_navbar_text_color: #fff;
11
+ $universal_navbar_text_color: #000;
12
+ $universal_navbar_active_text_hover_color: #fff;
13
+ $universal_navbar_icon_color: #fff;
12
14
  $universal_navbar_bg_color: $primary;
15
+ $universal_navbar_active_text_color: #fff;
16
+ $universal_navbar_active_bg_color: #000;
13
17
  // Main Navbar
14
18
  $navbar_height_padding: 5px;
15
19
  $navbar_text_color: #575757;
@@ -10,6 +10,7 @@
10
10
  max-height: 400px;
11
11
  height: 100%;
12
12
  object-fit: cover;
13
+ font-family: "object-fit: cover;";
13
14
  }
14
15
  }
15
16
  }
@@ -18,8 +19,10 @@
18
19
  height: 200px;
19
20
  overflow: hidden;
20
21
  object-fit: cover;
21
- .header_background_image.lazyloaded {
22
+ font-family: "object-fit: cover;";
23
+ .header_background_image {
22
24
  object-fit: cover;
25
+ font-family: "object-fit: cover;";
23
26
  object-position: 50% 50% !important;
24
27
  height: 200px;
25
28
  width: 100vw;
@@ -169,6 +172,7 @@
169
172
  height: 100px;
170
173
  transition: all 100ms ease-out;
171
174
  object-fit: cover;
175
+ font-family: "object-fit: cover;";
172
176
  &:hover {
173
177
  transform: rotate(-5deg);
174
178
  -webkit-box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.75);
@@ -212,6 +216,7 @@
212
216
  height: 150px;
213
217
  width: 100%;
214
218
  object-fit: cover;
219
+ font-family: "object-fit: cover;";
215
220
  }
216
221
  &:after {
217
222
  content: "";
@@ -8,6 +8,7 @@
8
8
  height: 100%;
9
9
  width: 100%;
10
10
  object-fit: cover;
11
+ font-family: "object-fit: cover;";
11
12
  filter: brightness(0.8);
12
13
  z-index: 0;
13
14
  }
@@ -31,6 +31,7 @@
31
31
  .header_background_image {
32
32
  position: absolute;
33
33
  object-fit: cover;
34
+ font-family: "object-fit: cover;";
34
35
  height: 100%;
35
36
  width: 100%;
36
37
  filter: brightness(0.4);
@@ -55,6 +56,7 @@
55
56
  height: 100%;
56
57
  width: auto;
57
58
  object-fit: cover;
59
+ font-family: "object-fit: cover;";
58
60
  }
59
61
  }
60
62
  }
@@ -66,6 +68,7 @@
66
68
  height: 100%;
67
69
  width: auto;
68
70
  object-fit: cover;
71
+ font-family: "object-fit: cover;";
69
72
  @include media-breakpoint-down(sm) {
70
73
  margin: auto;
71
74
  }
@@ -77,6 +80,7 @@
77
80
  img.members_image {
78
81
  height: 100px;
79
82
  object-fit: contain;
83
+ font-family: "object-fit: contain;";
80
84
  width: 100%;
81
85
  padding: 15px;
82
86
  }
@@ -108,6 +112,7 @@
108
112
  height: 150px;
109
113
  width: 100%;
110
114
  object-fit: cover;
115
+ font-family: "object-fit: cover;";
111
116
  }
112
117
  }
113
118
  }
@@ -5,30 +5,30 @@
5
5
  height: $jumbotron_height;
6
6
  margin-bottom: 0px;
7
7
  .inner_content_wrapper {
8
- img {
9
- height: 150px;
10
- width: auto;
11
- &.rounded-circle {
12
- object-fit: cover;
13
- height: 75px;
14
- width: 75px;
15
- }
8
+ img {
9
+ height: 150px;
10
+ width: auto;
11
+ &.rounded-circle {
12
+ object-fit: cover;
13
+ font-family: "object-fit: cover;";
14
+ height: 75px;
15
+ width: 75px;
16
16
  }
17
+ }
17
18
  }
18
19
  h1 {
19
- margin-bottom:5px;
20
- @include media-breakpoint-up(lg){
21
- font-size: 3rem;
22
- font-weight: 300;
23
- line-height: 1.2;
24
-
25
- }
20
+ margin-bottom: 5px;
21
+ @include media-breakpoint-up(lg) {
22
+ font-size: 3rem;
23
+ font-weight: 300;
24
+ line-height: 1.2;
25
+ }
26
26
  }
27
27
  p {
28
- margin-bottom:5px;
28
+ margin-bottom: 5px;
29
29
  }
30
30
  &.video {
31
- background-color: transparent;
31
+ background-color: transparent;
32
32
  }
33
33
  video {
34
34
  position: absolute;
@@ -47,11 +47,11 @@
47
47
  .inner_content_wrapper {
48
48
  padding: 20px;
49
49
  text-align: center;
50
- @include media-breakpoint-only(xs){
51
- padding:0px;
52
- h1 {
53
- margin:0.5rem;
54
- }
50
+ @include media-breakpoint-only(xs) {
51
+ padding: 0px;
52
+ h1 {
53
+ margin: 0.5rem;
54
+ }
55
55
  }
56
56
  }
57
57
  }
@@ -71,15 +71,15 @@
71
71
  padding-top: 0px;
72
72
  padding-bottom: 0px;
73
73
  .owl-carousel {
74
- height: 100%;
74
+ height: 100%;
75
75
  .owl-stage-outer {
76
+ height: 100%;
77
+ .owl-stage {
76
78
  height: 100%;
77
- .owl-stage {
78
- height: 100%;
79
- .owl-item {
80
- height: 100%;
81
- }
79
+ .owl-item {
80
+ height: 100%;
82
81
  }
82
+ }
83
83
  }
84
84
  }
85
85
 
@@ -88,9 +88,9 @@
88
88
  height: 100%;
89
89
  }
90
90
  .owl-dots {
91
- top: -40px;
92
- position: relative;
93
- }
91
+ top: -40px;
92
+ position: relative;
93
+ }
94
94
  }
95
95
  .header_background_image {
96
96
  position: absolute;
@@ -99,6 +99,7 @@
99
99
  height: 100%;
100
100
  width: 100%;
101
101
  object-fit: cover;
102
+ font-family: "object-fit: cover;";
102
103
  filter: brightness(0.1);
103
104
  }
104
105
  }
@@ -35,14 +35,37 @@
35
35
  background-color: $universal_navbar_bg_color;
36
36
  color: $universal_navbar_text_color;
37
37
  .nav-item {
38
+ &.nav-item-icon {
39
+ a.nav-link {
40
+ padding: 5px 12px;
41
+ }
42
+ &:hover {
43
+ span {
44
+ color: $universal_navbar_text_color;
45
+ }
46
+ }
47
+ span {
48
+ color: #fff;
49
+ }
50
+ }
51
+ &:hover {
52
+ a.nav-link {
53
+ color: $universal_navbar_active_text_hover_color;
54
+ }
55
+ }
38
56
  &.active {
39
- background-color: $secondary;
57
+ background-color: $universal_navbar_active_bg_color;
58
+ a.nav-link {
59
+ color: $universal_navbar_active_text_color;
60
+ }
40
61
  }
41
62
  a.nav-link {
42
63
  color: $universal_navbar_text_color;
64
+ padding: 5px 20px;
43
65
  }
44
66
  }
45
- .navbar-toggler {
67
+ .navbar-toggler,
68
+ .dropdown_hamburger {
46
69
  .icon-bar {
47
70
  background-color: $universal_navbar_text_color;
48
71
  }
@@ -76,12 +99,8 @@
76
99
  color: $navbar_text_color;
77
100
  }
78
101
  }
79
- .navbar-toggler {
80
- .icon-bar {
81
- background-color: $navbar_text_color;
82
- }
83
- }
84
- .navbar-toggler {
102
+ .navbar-toggler,
103
+ .dropdown_hamburger {
85
104
  .icon-bar {
86
105
  background-color: $navbar_text_color;
87
106
  }
@@ -272,4 +291,64 @@
272
291
  }
273
292
  }
274
293
  }
294
+ .dropdown_hamburger {
295
+ button {
296
+ background: none;
297
+ border: none;
298
+ /* remove the blue outline when active or focused */
299
+ &:active,
300
+ &:focus {
301
+ outline: 0;
302
+ }
303
+ }
304
+
305
+ .icon-bar {
306
+ display: block;
307
+ width: 22px;
308
+ height: 2px;
309
+ border-radius: 1px;
310
+ margin: 4px 0 4px 0;
311
+ transition: transform opacity filter transform-origin 0.2s;
312
+ }
313
+ .icon-bar {
314
+ /* .navbar closed top .icon-bar no rotation - straight */
315
+ &:nth-of-type(1) {
316
+ transform: rotate(0);
317
+ }
318
+
319
+ /* .navbar open middle .icon-bar visible */
320
+ &:nth-of-type(2) {
321
+ opacity: 1;
322
+ filter: alpha(opacity=100);
323
+ }
324
+
325
+ /* .navbar open bottom .icon-bar no rotation - straight */
326
+ &:nth-of-type(3) {
327
+ transform: rotate(0);
328
+ }
329
+ }
330
+ /* styles for when .navbar is closed */
331
+ &.show {
332
+ /* basic styles for each icon bar */
333
+ .icon-bar {
334
+ /* .navbar open top .icon-bar rotated down 45° */
335
+ &:nth-of-type(1) {
336
+ transform: rotate(45deg);
337
+ transform-origin: 10% 10%;
338
+ }
339
+
340
+ /* .navbar open middle .icon-bar invisible */
341
+ &:nth-of-type(2) {
342
+ opacity: 0;
343
+ filter: alpha(opacity=0);
344
+ }
345
+
346
+ /* .navbar open bottom .icon-bar rotated up 45° */
347
+ &:nth-of-type(3) {
348
+ transform: rotate(-45deg);
349
+ transform-origin: 10% 90%;
350
+ }
351
+ }
352
+ }
353
+ }
275
354
  }
@@ -77,6 +77,7 @@
77
77
  height: 150px;
78
78
  width: 100%;
79
79
  object-fit: cover;
80
+ font-family: "object-fit: cover;";
80
81
  }
81
82
  }
82
83
  .darken {
@@ -0,0 +1,132 @@
1
+ /*! lazysizes - v5.2.2 */
2
+
3
+ !(function (e, i) {
4
+ var a;
5
+ e &&
6
+ ((a = function (t) {
7
+ i(e.lazySizes, t), e.removeEventListener("lazyunveilread", a, !0);
8
+ }),
9
+ (i = i.bind(null, e, e.document)),
10
+ "object" == typeof module && module.exports
11
+ ? i(require("lazysizes"))
12
+ : "function" == typeof define && define.amd
13
+ ? define(["lazysizes"], i)
14
+ : e.lazySizes
15
+ ? a()
16
+ : e.addEventListener("lazyunveilread", a, !0));
17
+ })("undefined" != typeof window ? window : 0, function (t, u, f, e) {
18
+ "use strict";
19
+ var y,
20
+ i,
21
+ a = u.createElement("a").style,
22
+ r = "objectFit" in a,
23
+ s = /object-fit["']*\s*:\s*["']*(contain|cover)/,
24
+ l = /object-position["']*\s*:\s*["']*(.+?)(?=($|,|'|"|;))/,
25
+ A =
26
+ "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
27
+ n = /\(|\)|'/,
28
+ d = { center: "center", "50% 50%": "center" };
29
+ function c(o, r) {
30
+ function s() {
31
+ var t = o.currentSrc || o.src;
32
+ t &&
33
+ i !== t &&
34
+ ((i = t),
35
+ (d.backgroundImage =
36
+ "url(" + (n.test(t) ? JSON.stringify(t) : t) + ")"),
37
+ e || ((e = !0), f.rC(l, c.loadingClass), f.aC(l, c.loadedClass)));
38
+ }
39
+ function t() {
40
+ f.rAF(s);
41
+ }
42
+ var e,
43
+ i,
44
+ l,
45
+ d,
46
+ c = f.cfg;
47
+ (o._lazysizesParentFit = r.fit),
48
+ o.addEventListener("lazyloaded", t, !0),
49
+ o.addEventListener("load", t, !0),
50
+ f.rAF(function () {
51
+ var t,
52
+ e,
53
+ i,
54
+ a = o,
55
+ n = o.parentNode;
56
+ "PICTURE" == n.nodeName.toUpperCase() && (n = (a = n).parentNode),
57
+ (e = (t = a).previousElementSibling) &&
58
+ f.hC(e, y) &&
59
+ (e.parentNode.removeChild(e),
60
+ (t.style.position = e.getAttribute("data-position") || ""),
61
+ (t.style.visibility = e.getAttribute("data-visibility") || "")),
62
+ y ||
63
+ y ||
64
+ ((i = u.createElement("style")),
65
+ (y = f.cfg.objectFitClass || "lazysizes-display-clone"),
66
+ u.querySelector("head").appendChild(i)),
67
+ (l = o.cloneNode(!1)),
68
+ (d = l.style),
69
+ l.addEventListener("load", function () {
70
+ var t = l.currentSrc || l.src;
71
+ t && t != A && ((l.src = A), (l.srcset = ""));
72
+ }),
73
+ f.rC(l, c.loadedClass),
74
+ f.rC(l, c.lazyClass),
75
+ f.rC(l, c.autosizesClass),
76
+ f.aC(l, c.loadingClass),
77
+ f.aC(l, y),
78
+ [
79
+ "data-parent-fit",
80
+ "data-parent-container",
81
+ "data-object-fit-polyfilled",
82
+ c.srcsetAttr,
83
+ c.srcAttr,
84
+ ].forEach(function (t) {
85
+ l.removeAttribute(t);
86
+ }),
87
+ (l.src = A),
88
+ (l.srcset = ""),
89
+ (d.backgroundRepeat = "no-repeat"),
90
+ (d.backgroundPosition = r.position),
91
+ (d.backgroundSize = r.fit),
92
+ l.setAttribute("data-position", a.style.position),
93
+ l.setAttribute("data-visibility", a.style.visibility),
94
+ (a.style.visibility = "hidden"),
95
+ (a.style.position = "absolute"),
96
+ o.setAttribute("data-parent-fit", r.fit),
97
+ o.setAttribute("data-parent-container", "prev"),
98
+ o.setAttribute("data-object-fit-polyfilled", ""),
99
+ (o._objectFitPolyfilledDisplay = l),
100
+ n.insertBefore(l, a),
101
+ o._lazysizesParentFit && delete o._lazysizesParentFit,
102
+ o.complete && s();
103
+ });
104
+ }
105
+ (r && r && "objectPosition" in a) ||
106
+ ((i = function (t) {
107
+ if (t.detail.instance == f) {
108
+ var e,
109
+ i,
110
+ a,
111
+ n = t.target,
112
+ o =
113
+ ((e = (getComputedStyle(n, null) || {}).fontFamily || ""),
114
+ (i = e.match(s) || ""),
115
+ (a = (a = (i && e.match(l)) || "") && a[1]),
116
+ { fit: (i && i[1]) || "", position: d[a] || a || "center" });
117
+ return !(!o.fit || (r && "center" == o.position)) && (c(n, o), !0);
118
+ }
119
+ }),
120
+ t.addEventListener("lazybeforesizes", function (t) {
121
+ var e;
122
+ t.detail.instance == f &&
123
+ (null == (e = t.target).getAttribute("data-object-fit-polyfilled") ||
124
+ e._objectFitPolyfilledDisplay ||
125
+ i(t) ||
126
+ f.rAF(function () {
127
+ e.removeAttribute("data-object-fit-polyfilled");
128
+ }));
129
+ }),
130
+ t.addEventListener("lazyunveilread", i, !0),
131
+ e && e.detail && i(e));
132
+ });
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linaro-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-26 00:00:00.000000000 Z
11
+ date: 2020-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -381,6 +381,7 @@ files:
381
381
  - assets/js/vendor/jquery.js
382
382
  - assets/js/vendor/lazysizes.js
383
383
  - assets/js/vendor/ls.unveilhooks.js
384
+ - assets/js/vendor/ofi.js
384
385
  - assets/js/vendor/owl.carousel.js
385
386
  - assets/js/vendor/simple-jekyll-search.min.js
386
387
  - assets/json/posts.json