linaro-jekyll-theme 0.8.1 → 0.8.2

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
  SHA1:
3
- metadata.gz: 1b3f388e598802faf1c25ee4f30c29d2064821ad
4
- data.tar.gz: 4e6c1f35756227a6214697951212bc3562cbdec4
3
+ metadata.gz: 4b9c33181e3de8ad19cc1b14271c8c10c344a2e8
4
+ data.tar.gz: 2af8c9861b6471fba5f1fd6a3bd63c74573f021e
5
5
  SHA512:
6
- metadata.gz: 902aaf13d3f7ddc62d6b05d8cb6fdb35d8dbf7d853fc3a8c54e3b730e525438548978a8d2ca27d663f7ddc0fb7b9b1f76cc93251ed5a5cb6474453a0eda8b30a
7
- data.tar.gz: ae581ee91ea05e6116574cdcc3c47884395eecdf72e80c38c7f1ea5c6acc825852a372eb2b8ed8fd869589f25fc497191511832864c2bd6619b0dbe69786d8a9
6
+ metadata.gz: c5cee3f0a8a233fade6334ee28ac43c64f9c73d4c74a9931b95b29bfded88b31d44070d2cd4736bebb8bc022ea38fa544e78eec578e991d0edee78b2fc881aa1
7
+ data.tar.gz: 49f9f1cf1d3cf025f9510555d44dfd2a90ef587e9a679e44f85477a6b484771b9b77694dd03cdcf0d9f54e9c7358f4e13dae983fe13dd55e45ea91bdf65e21e3
data/_data/company.yml CHANGED
@@ -8,7 +8,10 @@ mailchimp:
8
8
  # Jekyll social media site settings. Github, LinkedIn, Google+, Facebook and Youtube
9
9
  disqus:
10
10
  enabled: true
11
- shortname: 96boards
12
-
11
+ shortname: op-tee
12
+ google:
13
+ analytics: UA-16756069-20
14
+ tag_manager: GTM-TDJ7LGH
15
+
13
16
  homepage_image: /assets/images/background-image.jpg
14
17
  breadcrumb-image: /assets/images/background-image.jpg
@@ -14,9 +14,12 @@
14
14
  <link rel="icon" href="{% if site.company.favicon %}{{site.company.favicon}}{% else %}/assets/images/favicon.png?v=2{% endif %}" type="image/png" />
15
15
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
16
16
  <meta charset="UTF-8">
17
- {% if site.google-tag-manager %}
17
+ {% if site.data.company.google.tag_manager %}
18
18
  {% include _theme-includes/_script-includes/gtm/gtm-script.html %}
19
19
  {% endif %}
20
+ {% if site.data.company.google.analytics %}
21
+ {% include _theme-includes/_script-includes/google-analytics/script.html %}
22
+ {% endif %}
20
23
  {% if page.keywords %}
21
24
  <meta name="keywords" content="{{page.keywords}}">
22
25
  {% endif %}
@@ -0,0 +1,10 @@
1
+ <script>
2
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
6
+
7
+ ga('create', '{{site.data.company.google.analytics}}', 'auto');
8
+ ga('send', 'pageview');
9
+
10
+ </script>
@@ -1,4 +1,6 @@
1
- <!-- Google Tag Manager (noscript) -->
2
- <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P53JPC"
3
- height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
4
- <!-- End Google Tag Manager (noscript) -->
1
+ {% if site.data.company.google_tag_manager %}
2
+ <!-- Google Tag Manager (noscript) -->
3
+ <noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{site.data.company.google_tag_manager}}"
4
+ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
5
+ <!-- End Google Tag Manager (noscript) -->
6
+ {% endif %}
@@ -1,7 +1,9 @@
1
- <!-- Google Tag Manager -->
2
- <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
3
- new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
4
- j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
5
- 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
6
- })(window,document,'script','dataLayer','GTM-P53JPC');</script>
7
- <!-- End Google Tag Manager -->
1
+ {% if site.data.company.google.tag_manager %}
2
+ <!-- Google Tag Manager -->
3
+ <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
4
+ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
5
+ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
6
+ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
7
+ })(window,document,'script','dataLayer','{{site.data.company.google.tag_manager}}');</script>
8
+ <!-- End Google Tag Manager -->
9
+ {% endif %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linaro-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-15 00:00:00.000000000 Z
11
+ date: 2017-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -220,6 +220,7 @@ files:
220
220
  - _includes/_theme-includes/_page-structure/home-hero.html
221
221
  - _includes/_theme-includes/_page-structure/shape-divider.html
222
222
  - _includes/_theme-includes/_script-includes/css.html
223
+ - _includes/_theme-includes/_script-includes/google-analytics/script.html
223
224
  - _includes/_theme-includes/_script-includes/gtm/gtm-noscript.html
224
225
  - _includes/_theme-includes/_script-includes/gtm/gtm-script.html
225
226
  - _includes/_theme-includes/_script-includes/javascript.html