linaro-jekyll-theme 0.8.1 → 0.8.2
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 +4 -4
- data/_data/company.yml +5 -2
- data/_includes/_theme-includes/_head/head.html +4 -1
- data/_includes/_theme-includes/_script-includes/google-analytics/script.html +10 -0
- data/_includes/_theme-includes/_script-includes/gtm/gtm-noscript.html +6 -4
- data/_includes/_theme-includes/_script-includes/gtm/gtm-script.html +9 -7
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b9c33181e3de8ad19cc1b14271c8c10c344a2e8
|
|
4
|
+
data.tar.gz: 2af8c9861b6471fba5f1fd6a3bd63c74573f021e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
'
|
|
6
|
-
|
|
7
|
-
|
|
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.
|
|
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-
|
|
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
|