jumbo-jekyll-theme 6.0.0.2 → 6.0.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 +1 -1
- data/_includes/components/head.html +1 -1
- data/assets/js/app/main.js +31 -21
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df56de1e8b0c939d4da79c7a435e3fb5bb71f2b2205b260f4dd6f025ca7864cb
|
4
|
+
data.tar.gz: 61f3727930c25426f1a0db4248d8a7b0710114757fea25fbdc2bd112a9699f39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8a0d98a3815ab3c12c209a1492a123a23664946b856a8793d81ca18bae98dd2b426364ef4823192191f1ec445086a2685cef26b8cf681999b1446fb4af9c749
|
7
|
+
data.tar.gz: 69582e78dad72e3fb52307514ddde348997007856acd13fdaff5c997a21b32914ecdd7a61df6b810e12f637e53fab81213777ae17c03baae7ede85e3a6314aa4
|
data/_config.yml
CHANGED
@@ -76,7 +76,7 @@ http2_resources:
|
|
76
76
|
href: /assets/fonts/lato/Lato-regular.woff2
|
77
77
|
google_analytics:
|
78
78
|
enabled: true
|
79
|
-
code:
|
79
|
+
code: GTM-XXXX
|
80
80
|
# Set the site-wide default social media share image.
|
81
81
|
social_media_share_image: /assets/images/social-media-image.png
|
82
82
|
# Set the default favicon
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<meta property="og:title" content="{{title}}" />
|
41
41
|
<meta property="og:locale" content="en_US" />
|
42
42
|
<meta property="og:description" content="{{description}}" />
|
43
|
-
<meta property="og:url" content="{{
|
43
|
+
<meta property="og:url" content="{{ page.url | absolute_url }}" />
|
44
44
|
<meta property="og:site_name" content="Linaro" />
|
45
45
|
<meta property="og:image" content="{{image}}" />
|
46
46
|
<!--Twitter Cards-->
|
data/assets/js/app/main.js
CHANGED
@@ -265,27 +265,37 @@ $(document).ready(function () {
|
|
265
265
|
// Enabled Google Analytics if cookie to allow us to collect is set.
|
266
266
|
function init_ga() {
|
267
267
|
if ($.fn.ihavecookies.preference("analytics")) {
|
268
|
-
(function (i, s, o, g, r, a, m) {
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
})(
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
);
|
287
|
-
ga("create", ga_code, "auto");
|
288
|
-
ga("send", "pageview");
|
268
|
+
// (function (i, s, o, g, r, a, m) {
|
269
|
+
// i["GoogleAnalyticsObject"] = r;
|
270
|
+
// (i[r] =
|
271
|
+
// i[r] ||
|
272
|
+
// function () {
|
273
|
+
// (i[r].q = i[r].q || []).push(arguments);
|
274
|
+
// }),
|
275
|
+
// (i[r].l = 1 * new Date());
|
276
|
+
// (a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
|
277
|
+
// a.async = 1;
|
278
|
+
// a.src = g;
|
279
|
+
// m.parentNode.insertBefore(a, m);
|
280
|
+
// })(
|
281
|
+
// window,
|
282
|
+
// document,
|
283
|
+
// "script",
|
284
|
+
// "https://www.google-analytics.com/analytics.js",
|
285
|
+
// "ga"
|
286
|
+
// );
|
287
|
+
// ga("create", ga_code, "auto");
|
288
|
+
// ga("send", "pageview");
|
289
|
+
(function (w, d, s, l, i) {
|
290
|
+
w[l] = w[l] || [];
|
291
|
+
w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
|
292
|
+
var f = d.getElementsByTagName(s)[0],
|
293
|
+
j = d.createElement(s),
|
294
|
+
dl = l != "dataLayer" ? "&l=" + l : "";
|
295
|
+
j.async = true;
|
296
|
+
j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
|
297
|
+
f.parentNode.insertBefore(j, f);
|
298
|
+
})(window, document, "script", "dataLayer", ga_code);
|
289
299
|
console.log("Google Analytics started");
|
290
300
|
} else {
|
291
301
|
console.log("Google analytics not started... :(");
|