kcc-gem-theme 0.7.0 → 0.7.1

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: 5830547c757dd7322fa5e9b76abb42bb1233cb3c59e60c5af04d1d2e6eaa7342
4
- data.tar.gz: 7f8af2646566417935c83b909fc604f1e1c36591ac49c22f559872c3575922dc
3
+ metadata.gz: 1a6e4eba74812c0cb649be09d680beb173e093efc5abe51d7923fa3b41d6d5a7
4
+ data.tar.gz: 255f1f6ab848be99b9aff9a7c2439d2a1006339a30fa27716574ef07a5a07158
5
5
  SHA512:
6
- metadata.gz: 374c06d6bef9424f2ef7ec8e582749ecd6879c174d1d6ed9d44a686e23f7870d0ac361c837eecbf8272e0c20c1b48bd80d8594e5fd27efcc3c81c38138d0e461
7
- data.tar.gz: 4fdac25103d50bdc4e2de161322b170054b900b5ae4021883406456ac338b26c287d85f073c25acf45efea5d0d9a4fa76f6fd3478b36aa02c8d9c984831fb03c
6
+ metadata.gz: a6f6003f6c46686aa855dc2c0ffd8222e80eb760b91b4426e67529c7693c32e3eff04c990c4c6576cfd3b65858f17e6d1cfde3f353953c4d17f0a00881efc549
7
+ data.tar.gz: 2e997a843ca0128bc98bbc40f377b24316a625e5479197282ba44eac4d33283fdbd0cee76fcace8f035063398fe3d0877b3697b8273be467e4c503855df22814
@@ -1,6 +1,6 @@
1
1
  <!-- Google Tag Manager (noscript) -->
2
-
3
- <!-- Place appropriate Google Tag Manager noscript here.
4
- ======================================================= -->
5
-
2
+ {% if site.google-tag_key == "Google Tag Manager key goes here" or site.google-tag_key == nil or site.google-tag_key == '' %}<!-- =========================================================================================
3
+ YOU NEED TO PUT THE GOOGLE TAG KEY IN THE _config.yml FILE FOR THE <noscript> TO SHOW UP HERE!
4
+ ============================================================================================ -->{% endif %}
5
+ {% if site.google-tag_key != "Google Tag Manager key goes here" and site.google-tag_key != nil %}<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ site.google-tag_key }}" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>{% endif %}
6
6
  <!-- End Google Tag Manager (noscript) -->
@@ -1,6 +1,24 @@
1
- <!-- Google Tag Manager -->
1
+ <!-- Google Tag Manager -->
2
2
 
3
- <!-- Place appropriate Google Tag Manager script here & delete only this comment.
4
- ===================================================== -->
5
-
6
- <!-- End Google Tag Manager -->
3
+ {% if site.google-tag_key == "Google Tag Manager key goes here" or site.google-tag_key == nil or site.google-tag_key == '' %}<!-- =========================================================================================
4
+ YOU NEED TO PUT THE GOOGLE TAG KEY IN THE _config.yml FILE FOR THE <script> TO SHOW UP HERE!
5
+ ============================================================================================ -->{% endif %}
6
+ {% if site.google-tag_key != "Google Tag Manager key goes here" and site.google-tag_key != nil %}
7
+ <script>
8
+ (function(w, d, s, l, i) {
9
+ w[l] = w[l] || [];
10
+ w[l].push({
11
+ 'gtm.start': new Date().getTime(),
12
+ event: 'gtm.js'
13
+ });
14
+ var f = d.getElementsByTagName(s)[0],
15
+ j = d.createElement(s),
16
+ dl = l != 'dataLayer' ? '&l=' + l : '';
17
+ j.async = true;
18
+ j.src =
19
+ 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
20
+ f.parentNode.insertBefore(j, f);
21
+ })(window, document, 'script', 'dataLayer', '{{ site.google-tag_key }}');
22
+ </script>
23
+ {% endif %}
24
+ <!-- End Google Tag Manager -->
@@ -0,0 +1,8 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
6
+ {% comment %}
7
+ All pages should this 'page.html' layout
8
+ {% endcomment %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kcc-gem-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - wdzajicek
@@ -77,6 +77,7 @@ files:
77
77
  - _includes/styles/main.html
78
78
  - _includes/styles/vendor.html
79
79
  - _layouts/default.html
80
+ - _layouts/page.html
80
81
  - assets/css/content.css
81
82
  - assets/css/kcc-theme.css
82
83
  - assets/css/main.css