jumbo-jekyll-theme 5.7.0.2 → 5.7.0.3

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: fed455afab075dc1ebe7bf5889ea12d73c52126dd5de843c825b33dc2a2f12eb
4
- data.tar.gz: 84e03052252f63b35b29b5eb3748e677e2d07d3626b466c9a4725514026bc385
3
+ metadata.gz: 630e575cae24928f71ff73f2b72e54c326fc01afaff292ade296ac40e6368fe0
4
+ data.tar.gz: 2c728fc080149228c2999e94b2b18a3d5c2b23b7365dbacd04cca50271121b68
5
5
  SHA512:
6
- metadata.gz: e38613c318b716c0657572dc4c832db76d5dca942d3abd78bc428db90f8f0693a11a9205b3078fae69b8f121449433e7b0ce914969ab69fdd2a7f35766439c6d
7
- data.tar.gz: 4406c0cb307e2aa1c5d17f1d8c3d215fc1067994fd6502bc7501b4552ed81b16495f7955e5e738fff55630b9be5895d58ea55c3ef98bcd6e5c7f35e5518da8a4
6
+ metadata.gz: 225b8a8f6313e32f115a4cbe06562626144bad5b2901706888b53e7fa245432299ad1f571a29f60d2713f428b07f82312636be7668566af868111a148cd372ce
7
+ data.tar.gz: 56d36d437468dfb03be35cf5fa858ad57334d7d2802035f547e7d36c3592d84e6a9fae7802313a2c0c9f93d21f8e1765d463ffdfe970594a86ddc1bb54b7106c
data/_config.yml CHANGED
@@ -76,7 +76,12 @@ http2_resources:
76
76
  href: /assets/fonts/lato/Lato-regular.woff2
77
77
  google_analytics:
78
78
  enabled: true
79
- code: UAXXXXXX
79
+ cookies_popup_title: Cookies & Privacy Policy
80
+ cookies_popup_description: >
81
+ Cookies enable you to use this website to the full extent and to personalize your experience on our sites. They tell us which parts of our websites people have visited, help us measure the effectiveness of ads and web searches and give us insights into user behavior so we can improve our communications with you.
82
+ privacy_url: /privacy/
83
+ enabled: true
84
+ code: UAXXXXXXB
80
85
  # Set the site-wide default social media share image.
81
86
  social_media_share_image: /assets/images/social-media-image.png
82
87
  # Set the default favicon
@@ -101,6 +106,8 @@ social_media_channels:
101
106
  url: https://www.youtube.com/linaroorg
102
107
  twitter:
103
108
  url: https://twitter.com/linaroorg
109
+ instagram:
110
+ url: https://instagram.com/linaroorg
104
111
  # Disqus Comments Setup
105
112
  disqus:
106
113
  enabled: true
@@ -52,6 +52,9 @@
52
52
  {% endif %}
53
53
  {% if site.google_analytics.enabled %}
54
54
  <meta name="analytics_code" content="{{site.google_analytics.code}}">
55
+ <meta name="cookies_popup_title" content="{{site.google_analytics.cookies_popup_title}}">
56
+ <meta name="cookies_popup_description" content="{{site.google_analytics.cookies_popup_description}}">
57
+ <meta name="privacy_url" content="{{site.google_analytics.privacy_url}}">
55
58
  {% endif %}
56
59
  {% if page.keywords %}
57
60
  <meta name="keywords" content="{{page.keywords}}">
@@ -19,7 +19,7 @@
19
19
  {{slide.title}}</h1>
20
20
  {% endif %}
21
21
  {% if slide.description %}
22
- <p class="lead {% if slide.desciption-class %}class="{{slide.description-class}}" {% endif %}>
22
+ <p class="lead {% if slide.desciption-class %} {{slide.description-class}}{% endif %}">
23
23
  {{slide.description}}
24
24
  </p>
25
25
  {% endif %}
@@ -1,20 +1,24 @@
1
1
  {% if site.social_media_channels.twitter %}
2
- <a href="https://twitter.com/{{site.social_media_channels.twitter.url}}" class="btn btn-social-icon"><i
2
+ <a href="{{site.social_media_channels.twitter.url}}" class="btn btn-social-icon"><i
3
3
  class="icon-twitter"></i></a>
4
4
  {% endif %}
5
5
  {% if site.social_media_channels.facebook %}
6
- <a href="http://facebook.com/{{site.social_media_channels.facebook.url}}" class="btn btn-social-icon"><i
6
+ <a href="{{site.social_media_channels.facebook.url}}" class="btn btn-social-icon"><i
7
7
  class="icon-facebook"></i></a>
8
8
  {% endif %}
9
9
  {% if site.social_media_channels.linkedin %}
10
- <a href="https://www.linkedin.com/company/{{site.social_media_channels.linkedin.url}}" class="btn btn-social-icon"><i
10
+ <a href="{{site.social_media_channels.linkedin.url}}" class="btn btn-social-icon"><i
11
11
  class="icon-linkedin"></i></a>
12
12
  {% endif %}
13
+ {% if site.social_media_channels.instagram %}
14
+ <a href="{{site.social_media_channels.instagram.url}}" class="btn btn-social-icon"><i
15
+ class="icon-instagram"></i></a>
16
+ {% endif %}
13
17
  {% if site.social_media_channels.youtube %}
14
- <a href="https://www.youtube.com/{{site.social_media_channels.youtube.url}}" class="btn btn-social-icon"><i
18
+ <a href="{{site.social_media_channels.youtube.url}}" class="btn btn-social-icon"><i
15
19
  class="icon-youtube"></i></a>
16
20
  {% endif %}
17
21
  {% if site.social_media_channels.github %}
18
- <a href="https://github.com/{{site.social_media_channels.github.url}}" class="btn btn-social-icon"><i
22
+ <a href="{{site.social_media_channels.github.url}}" class="btn btn-social-icon"><i
19
23
  class="icon-github-circled"></i></a>
20
24
  {% endif %}
@@ -216,16 +216,24 @@ $(document).ready(function() {
216
216
 
217
217
  // Cookie Consent Setup
218
218
  if ($("meta[name=analytics_code]")) {
219
+ var privacy_url = $("meta[name=privacy_url]").attr("content");
220
+ var cookies_popup_title = $("meta[name=cookies_popup_title]").attr(
221
+ "content"
222
+ );
223
+ var cookies_popup_description = $(
224
+ "meta[name=cookies_popup_description]"
225
+ ).attr("content");
226
+ var ga_code = $("meta[name=analytics_code]").attr("content");
227
+
219
228
  // Options for the Cookie Dialog
220
229
  var options = {
221
- title: "Cookies & Privacy Policy",
222
- link: "https://www.linaro.org/legal/#privacy",
230
+ title: cookies_popup_title,
231
+ link: privacy_url,
223
232
  moreInfoLabel: "View our Privacy Policy",
224
233
  delay: 1000,
225
234
  acceptBtnLabel: "Accept all cookies",
226
235
  uncheckBoxes: false,
227
- message:
228
- "Cookies enable you to use this website to the full extent and to personalize your experience on our sites. They tell us which parts of our websites people have visited, help us measure the effectiveness of ads and web searches and give us insights into user behavior so we can improve our communications with you.",
236
+ message: cookies_popup_description,
229
237
  cookieTypes: [
230
238
  {
231
239
  type: "Analytics",
@@ -259,7 +267,7 @@ $(document).ready(function() {
259
267
  "https://www.google-analytics.com/analytics.js",
260
268
  "ga"
261
269
  );
262
- ga("create", "UA-XXXXX-Y", "auto");
270
+ ga("create", ga_code, "auto");
263
271
  ga("send", "pageview");
264
272
  console.log("Google Analytics started");
265
273
  } else {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.7.0.2
4
+ version: 5.7.0.3
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-03-12 00:00:00.000000000 Z
11
+ date: 2020-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll