jumbo-jekyll-theme 6.0.0.2 → 6.0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41acb2f1a40d2f9a1061223c56c3dd79b1c2eae39ab0eb2a8c20103c4f98a38b
4
- data.tar.gz: 13498e38faddfbdbdad28259405717e7a12c391e929ac86194effc69ecd9f9c7
3
+ metadata.gz: df56de1e8b0c939d4da79c7a435e3fb5bb71f2b2205b260f4dd6f025ca7864cb
4
+ data.tar.gz: 61f3727930c25426f1a0db4248d8a7b0710114757fea25fbdc2bd112a9699f39
5
5
  SHA512:
6
- metadata.gz: fab95faf14744f29553ceadca20a0b1f76daa836a80be6f92962857aa37445552436230ac157844d3dbe415913f3bacdb245996bc7e7e3cdfdaae6effcf3471f
7
- data.tar.gz: c7d3a5a64d1c9f7f65e41dc7af4526fa4b2bf21498db6c6aa089cd6dda5746d4fcbf23a70de8a0f408198a1df72c2e5998b349d631d125d29f36abd970c94cad
6
+ metadata.gz: a8a0d98a3815ab3c12c209a1492a123a23664946b856a8793d81ca18bae98dd2b426364ef4823192191f1ec445086a2685cef26b8cf681999b1446fb4af9c749
7
+ data.tar.gz: 69582e78dad72e3fb52307514ddde348997007856acd13fdaff5c997a21b32914ecdd7a61df6b810e12f637e53fab81213777ae17c03baae7ede85e3a6314aa4
@@ -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: UAXXXXXXB
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="{{site.url}}/" />
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-->
@@ -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
- 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");
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... :(");
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0.2
4
+ version: 6.0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby