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 +4 -4
- data/_config.yml +8 -1
- data/_includes/components/head.html +3 -0
- data/_includes/components/jumbotron.html +1 -1
- data/_includes/social_media_icons.html +9 -5
- data/assets/js/app/main.js +13 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 630e575cae24928f71ff73f2b72e54c326fc01afaff292ade296ac40e6368fe0
|
4
|
+
data.tar.gz: 2c728fc080149228c2999e94b2b18a3d5c2b23b7365dbacd04cca50271121b68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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 %}
|
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="
|
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="
|
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="
|
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="
|
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="
|
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 %}
|
data/assets/js/app/main.js
CHANGED
@@ -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:
|
222
|
-
link:
|
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",
|
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.
|
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-
|
11
|
+
date: 2020-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|