jumbo-jekyll-theme 6.0.0.0 → 6.0.0.5

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
  SHA256:
3
- metadata.gz: 60954d1fc8aee9294a0b911043deeb9adb8510308e689c6cebe3438892c33984
4
- data.tar.gz: 93d262c90a43714126c97968e60409ccc597017870acbc5013ca23f8688c9a90
3
+ metadata.gz: 44249dd9711442e22ebde0afa259b56b79f88456ea68834545e937e43b390682
4
+ data.tar.gz: 9fa92557f3562560275fb84f4f478159c92b323b9c028304eecaeaf2766567d1
5
5
  SHA512:
6
- metadata.gz: 72cdf5ffdf2e343d7e10e8a5f25f2a5ef6cc3694405ca78314722bff8326759695560bd3c83babffb2d0ca6aef52dc2d21e8b231a28f44175b67b41bf722d8e3
7
- data.tar.gz: 9b3ef029e062bb21a8031287e54091d39cb2a29b3f62384b9a078a68275e81ffa1fbf24b6fa47cae25bb6d8795e49a11633f2f071d0232f18d153ebe691b78ef
6
+ metadata.gz: 1d67eaacb5141ff0fe574920ff2910c7bccfca855093c11918bfbb8290179e44bfa397de782e2e6414f9ab4bc9435e4826be7acc5580015622fa335c999603b8
7
+ data.tar.gz: fef9f92ea7b244c4e50efc742e8ebce997e45c91a36731d733b832b1f5d1c7705d59b451cf506eab27c45ebf025ef47e219ec8771254d12db2f167cf3d3cf1b4
@@ -76,7 +76,25 @@ 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
+ cookies:
81
+ necessary:
82
+ - name: cookieControl
83
+ description: >
84
+ This is used to control the display of the preferences pop up. Without this, we wouldn't know if you've clicked Accept!
85
+ - name: cookieControlPrefs
86
+ description: >
87
+ This is used to store your cookie preferences. Without this we wouldn't know which cookies you want!
88
+ marketing:
89
+ - name: _ga
90
+ description: >
91
+ 2 years - Used to distinguish users.
92
+ - name: _gid
93
+ description: >
94
+ 24 hours - Used to distinguish users.
95
+ - name: _gat
96
+ description: >
97
+ 1 minute - Used to throttle request rate.
80
98
  # Set the site-wide default social media share image.
81
99
  social_media_share_image: /assets/images/social-media-image.png
82
100
  # Set the default favicon
@@ -15,14 +15,12 @@
15
15
  <th>Usage</th>
16
16
  </thead>
17
17
  <tbody>
18
+ {% for cookie in site.google_analytics.cookies.necessary %}
18
19
  <tr>
19
- <td>cookieControl</td>
20
- <td>This is used to control the display of the preferences pop up. Without this, we wouldn't know if you've clicked Accept!</td>
21
- </tr>
22
- <tr>
23
- <td>cookieControlPrefs</td>
24
- <td>This is used to store your cookie preferences. Without this we wouldn't know which cookies you want!</td>
20
+ <td>{{cookie.name}}</td>
21
+ <td>{{cookie.description | markdownify}}</td>
25
22
  </tr>
23
+ {% endfor %}
26
24
  </tbody>
27
25
  </table>
28
26
  </div>
@@ -52,18 +50,12 @@
52
50
  <th>Usage</th>
53
51
  </thead>
54
52
  <tbody>
53
+ {% for cookie in site.google_analytics.cookies.marketing %}
55
54
  <tr>
56
- <td>_ga</td>
57
- <td>2 years Used to distinguish users.</td>
58
- </tr>
59
- <tr>
60
- <td>_gid</td>
61
- <td>24 hours Used to distinguish users.</td>
62
- </tr>
63
- <tr>
64
- <td>_gat</td>
65
- <td>1 minute Used to throttle request rate.</td>
55
+ <td>{{cookie.name}}</td>
56
+ <td>{{cookie.description | markdownify}}</td>
66
57
  </tr>
58
+ {% endfor %}
67
59
  </tbody>
68
60
  </table>
69
61
  </div>
@@ -31,7 +31,7 @@
31
31
  {% endif %}
32
32
 
33
33
  <link rel="icon" href="{{site.favicon}}" type="image/png" />
34
- <link rel="canonical" href="{{site.url}}/" />
34
+ <link rel="canonical" href="{{ page.url | absolute_url }}" />
35
35
  <!-- Meta tags -->
36
36
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
37
37
  <meta name="generator" content="Jekyll v4" />
@@ -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-->
@@ -44,7 +44,6 @@
44
44
  {% if page.jumbotron.image %}
45
45
  {% assign image_path = page.jumbotron.image | remove_first: "/assets/images/" %}
46
46
  {% picture header_image {{image_path}} %}
47
-
48
47
  {% endif %}
49
48
  {% if page.jumbotron.video %}
50
49
  <video autoplay muted preload="none" poster="{{page.jumbotron.video.poster}}" playsinline loop id="jumbotronVideo">
@@ -0,0 +1,21 @@
1
+ <div class="col col-12 blocks {% if include.object.style %}{{include.object.style}}{% endif %}">
2
+ <div id="collapseSection" role="tablist" aria-multiselectable="true">
3
+ {% for panel in include.object.panels %}
4
+ <div class="card mb-3 border-0">
5
+ <div class="card-header border" role="tab" id="section{{forloop.index}}Header">
6
+ <h2 class="mb-0">
7
+ <button class="btn btn-link btn-block text-left text-dark {% unless forloop.first %}collapsed{% endunless %}" type="button" data-toggle="collapse" data-target="#section{{forloop.index}}Content"
8
+ aria-expanded="true" aria-controls="section{{forloop.index}}Content">
9
+ {{panel.title}}
10
+ </button>
11
+ </h2>
12
+ </div>
13
+ <div id="section{{forloop.index}}Content" class="mt-3 collapse {% if forloop.first %}show{% endif %}" role="tabpanel" aria-labelledby="section{{forloop.index}}Header">
14
+ <div class="card-body border">
15
+ {{panel.content | markdownify}}
16
+ </div>
17
+ </div>
18
+ </div>
19
+ {% endfor %}
20
+ </div>
21
+ </div>
@@ -9,6 +9,8 @@
9
9
  </div>
10
10
  {% elsif section.format == "tabs" %}
11
11
  {% include flow/tabbed_content.html object=section %}
12
+ {% elsif section.format == "collapse" %}
13
+ {% include flow/collapse.html object=section %}
12
14
  {% elsif section.format == "block" %}
13
15
  {% include flow/blocks.html object=section %}
14
16
  {% elsif section.format == "buttons" %}
@@ -2,7 +2,7 @@
2
2
  <nav>
3
3
  <div class="nav nav-tabs" id="{{page.title | slugify}}{{forloop.index}}" role="tablist">
4
4
  {% for tab in include.object.tabs %}
5
- <a class="nav-item nav-link {% if forloop.first %}active{% endif %}" href="#{{tab.title | slugify}}" id="{{tab.title | slugify}}{{forloop.index}}-tab"
5
+ <a class="nav-item nav-link {% if forloop.first %}active{% endif %}" href="#{{tab.title | slugify}}{{forloop.index}}" id="{{tab.title | slugify}}{{forloop.index}}-tab"
6
6
  data-toggle="tab" href="#{{tab.title | slugify}}{{forloop.index}}" role="tab"
7
7
  aria-controls="{{tab.title | slugify}}{{forloop.index}}" aria-selected="true">
8
8
  {{tab.title}}
@@ -1,16 +1,19 @@
1
1
  /* Cookie Dialog */
2
2
  #gdpr-cookie-message {
3
3
  position: fixed;
4
- right: 30px;
5
- bottom: 30px;
6
- max-width: 375px;
7
4
  background-color: #eeeded;
8
5
  padding: 20px;
9
6
  border-radius: 5px;
10
7
  box-shadow: 0 15px 15px rgba(0,0,0,0.25);
11
- margin-left: 30px;
12
8
  font-family: 'Lato';
13
9
  z-index: 999999;
10
+ top: 0;
11
+ left: 0;
12
+ right: 0;
13
+ bottom: unset;
14
+ max-width: 100%;
15
+ margin: 20px;
16
+
14
17
  button#ihavecookiesBtn {
15
18
  margin-left: 0px !important;
16
19
  }
@@ -1,5 +1,24 @@
1
1
  #flow_wrapper {
2
2
  background-color: white;
3
+ #collapseSection {
4
+ .btn.btn-link {
5
+ &:after {
6
+ color: #666;
7
+ top: 10px;
8
+ right: 0px;
9
+ position: absolute;
10
+ margin-right: 30px;
11
+ font-family: "fontello";
12
+ font-size: 22px;
13
+ content: "\e80f";
14
+ }
15
+ &.collapsed {
16
+ &:after {
17
+ content: "\e80e";
18
+ }
19
+ }
20
+ }
21
+ }
3
22
  .row {
4
23
  padding: $flow_row_padding 0;
5
24
  &.background_image_row {
@@ -1,12 +1,12 @@
1
1
  @font-face {
2
2
  font-family: "fontello";
3
- src: url("/assets/fonts/fontello/fontello.eot?26029165");
4
- src: url("/assets/fonts/fontello/fontello.eot?26029165#iefix")
3
+ src: url("/assets/fonts/fontello/fontello.eot");
4
+ src: url("/assets/fonts/fontello/fontello.eot")
5
5
  format("embedded-opentype"),
6
- url("/assets/fonts/fontello/fontello.woff2?26029165") format("woff2"),
7
- url("/assets/fonts/fontello/fontello.woff?26029165") format("woff"),
8
- url("/assets/fonts/fontello/fontello.ttf?26029165") format("truetype"),
9
- url("/assets/fonts/fontello/fontello.svg?26029165#fontello") format("svg");
6
+ url("/assets/fonts/fontello/fontello.woff2") format("woff2"),
7
+ url("/assets/fonts/fontello/fontello.woff") format("woff"),
8
+ url("/assets/fonts/fontello/fontello.ttf") format("truetype"),
9
+ url("/assets/fonts/fontello/fontello.svg") format("svg");
10
10
  font-weight: normal;
11
11
  font-style: normal;
12
12
  }
@@ -46,111 +46,46 @@
46
46
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
47
47
  }
48
48
 
49
- .icon-search:before {
50
- content: "\e800";
51
- } /* '' */
52
- .icon-stop:before {
53
- content: "\e801";
54
- } /* '' */
55
- .icon-pause:before {
56
- content: "\e802";
57
- } /* '' */
58
- .icon-fast-fw:before {
59
- content: "\e803";
60
- } /* '' */
61
- .icon-fast-bw:before {
62
- content: "\e804";
63
- } /* '' */
64
- .icon-terminal:before {
65
- content: "\e805";
66
- } /* '' */
67
- .icon-basket:before {
68
- content: "\e806";
69
- } /* '' */
70
- .icon-users:before {
71
- content: "\e807";
72
- } /* '' */
73
- .icon-user:before {
74
- content: "\e808";
75
- } /* '' */
76
- .icon-folder-open:before {
77
- content: "\e809";
78
- } /* '' */
79
- .icon-github-circled-alt2:before {
80
- content: "\f056";
81
- } /* '' */
82
- .icon-link-ext:before {
83
- content: "\f08e";
84
- } /* '' */
85
- .icon-terminal-1:before {
86
- content: "\f120";
87
- } /* '' */
88
- .icon-play-circled:before {
89
- content: "\f144";
90
- } /* '' */
91
- .icon-link-ext-alt:before {
92
- content: "\f14c";
93
- } /* '' */
94
- .icon-youtube-squared:before {
95
- content: "\f166";
96
- } /* '' */
97
- .icon-youtube:before {
98
- content: "\f167";
99
- } /* '' */
100
- .icon-youtube-play:before {
101
- content: "\f16a";
102
- } /* '' */
103
- .icon-file-code:before {
104
- content: "\f1c9";
105
- } /* '' */
106
- .icon-newspaper:before {
107
- content: "\f1ea";
108
- } /* '' */
109
- .icon-cart-plus:before {
110
- content: "\f217";
111
- } /* '' */
112
- .icon-github:before {
113
- content: "\f300";
114
- } /* '' */
115
- .icon-github-circled:before {
116
- content: "\f301";
117
- } /* '' */
118
- .icon-flickr:before {
119
- content: "\f303";
120
- } /* '' */
121
- .icon-flickr-circled:before {
122
- content: "\f304";
123
- } /* '' */
124
- .icon-twitter:before {
125
- content: "\f309";
126
- } /* '' */
127
- .icon-twitter-circled:before {
128
- content: "\f30a";
129
- } /* '' */
130
- .icon-facebook:before {
131
- content: "\f30c";
132
- } /* '' */
133
- .icon-facebook-circled:before {
134
- content: "\f30d";
135
- } /* '' */
136
- .icon-facebook-squared:before {
137
- content: "\f30e";
138
- } /* '' */
139
- .icon-pinterest:before {
140
- content: "\f312";
141
- } /* '' */
142
- .icon-pinterest-circled:before {
143
- content: "\f313";
144
- } /* '' */
145
- .icon-linkedin:before {
146
- content: "\f318";
147
- } /* '' */
148
- .icon-linkedin-circled:before {
149
- content: "\f319";
150
- } /* '' */
151
- .icon-spotify-circled:before {
152
- content: "\f328";
153
- } /* '' */
154
- .icon-instagram:before {
155
- content: "\f32d";
156
- } /* '' */
49
+
50
+ .icon-search:before { content: '\e800'; } /* '' */
51
+ .icon-stop:before { content: '\e801'; } /* '' */
52
+ .icon-pause:before { content: '\e802'; } /* '' */
53
+ .icon-fast-fw:before { content: '\e803'; } /* '' */
54
+ .icon-fast-bw:before { content: '\e804'; } /* '' */
55
+ .icon-terminal:before { content: '\e805'; } /* '' */
56
+ .icon-basket:before { content: '\e806'; } /* '' */
57
+ .icon-users:before { content: '\e807'; } /* '' */
58
+ .icon-user:before { content: '\e808'; } /* '' */
59
+ .icon-folder-open:before { content: '\e809'; } /* '' */
60
+ .icon-minus:before { content: '\e80a'; } /* '' */
61
+ .icon-minus-circled:before { content: '\e80b'; } /* '' */
62
+ .icon-plus:before { content: '\e80c'; } /* '' */
63
+ .icon-plus-circled:before { content: '\e80d'; } /* '' */
64
+ .icon-down-open:before { content: '\e80e'; } /* '' */
65
+ .icon-up-open:before { content: '\e80f'; } /* '' */
66
+ .icon-github-circled-alt2:before { content: '\f056'; } /* '' */
67
+ .icon-link-ext:before { content: '\f08e'; } /* '' */
68
+ .icon-terminal-1:before { content: '\f120'; } /* '' */
69
+ .icon-play-circled:before { content: '\f144'; } /* '' */
70
+ .icon-link-ext-alt:before { content: '\f14c'; } /* '' */
71
+ .icon-youtube-squared:before { content: '\f166'; } /* '' */
72
+ .icon-youtube:before { content: '\f167'; } /* '' */
73
+ .icon-youtube-play:before { content: '\f16a'; } /* '' */
74
+ .icon-file-code:before { content: '\f1c9'; } /* '' */
75
+ .icon-newspaper:before { content: '\f1ea'; } /* '' */
76
+ .icon-cart-plus:before { content: '\f217'; } /* '' */
77
+ .icon-github:before { content: '\f300'; } /* '' */
78
+ .icon-github-circled:before { content: '\f301'; } /* '' */
79
+ .icon-flickr:before { content: '\f303'; } /* '' */
80
+ .icon-flickr-circled:before { content: '\f304'; } /* '' */
81
+ .icon-twitter:before { content: '\f309'; } /* '' */
82
+ .icon-twitter-circled:before { content: '\f30a'; } /* '' */
83
+ .icon-facebook:before { content: '\f30c'; } /* '' */
84
+ .icon-facebook-circled:before { content: '\f30d'; } /* '' */
85
+ .icon-facebook-squared:before { content: '\f30e'; } /* '' */
86
+ .icon-pinterest:before { content: '\f312'; } /* '' */
87
+ .icon-pinterest-circled:before { content: '\f313'; } /* '' */
88
+ .icon-linkedin:before { content: '\f318'; } /* '' */
89
+ .icon-linkedin-circled:before { content: '\f319'; } /* '' */
90
+ .icon-spotify-circled:before { content: '\f328'; } /* '' */
91
+ .icon-instagram:before { content: '\f32d'; } /* '' */
@@ -1,8 +1,6 @@
1
1
  ---
2
2
  ---
3
3
  @charset "UTF-8";
4
- // Custom sass and css rules
5
- @import "app/custom";
6
4
  //Bootstrap Overrides
7
5
  @import "app/overrides";
8
6
  @import "bootstrap/functions";
@@ -12,3 +10,5 @@
12
10
  @import 'bootstrap/bootstrap';
13
11
  // Linaro Jekyll Theme Includes
14
12
  @import "core";
13
+ // Custom sass and css rules
14
+ @import "app/custom";
@@ -26,6 +26,18 @@
26
26
 
27
27
  <glyph glyph-name="folder-open" unicode="&#xe809;" d="M1049 319q0-17-18-37l-187-221q-24-28-67-48t-81-20h-607q-19 0-33 7t-15 24q0 17 17 37l188 221q24 28 67 48t80 20h607q19 0 34-7t15-24z m-192 192v-90h-464q-53 0-110-26t-92-67l-188-221-2-3q0 2-1 7t0 7v536q0 51 37 88t88 37h179q51 0 88-37t37-88v-18h303q52 0 88-37t37-88z" horiz-adv-x="1071.4" />
28
28
 
29
+ <glyph glyph-name="minus" unicode="&#xe80a;" d="M786 439v-107q0-22-16-38t-38-15h-678q-23 0-38 15t-16 38v107q0 23 16 38t38 16h678q23 0 38-16t16-38z" horiz-adv-x="785.7" />
30
+
31
+ <glyph glyph-name="minus-circled" unicode="&#xe80b;" d="M679 314v72q0 14-11 25t-25 10h-429q-14 0-25-10t-10-25v-72q0-14 10-25t25-10h429q14 0 25 10t11 25z m178 36q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z" horiz-adv-x="857.1" />
32
+
33
+ <glyph glyph-name="plus" unicode="&#xe80c;" d="M786 439v-107q0-22-16-38t-38-15h-232v-233q0-22-16-37t-38-16h-107q-22 0-38 16t-15 37v233h-232q-23 0-38 15t-16 38v107q0 23 16 38t38 16h232v232q0 22 15 38t38 16h107q23 0 38-16t16-38v-232h232q23 0 38-16t16-38z" horiz-adv-x="785.7" />
34
+
35
+ <glyph glyph-name="plus-circled" unicode="&#xe80d;" d="M679 314v72q0 14-11 25t-25 10h-143v143q0 15-11 25t-25 11h-71q-15 0-25-11t-11-25v-143h-143q-14 0-25-10t-10-25v-72q0-14 10-25t25-10h143v-143q0-15 11-25t25-11h71q15 0 25 11t11 25v143h143q14 0 25 10t11 25z m178 36q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z" horiz-adv-x="857.1" />
36
+
37
+ <glyph glyph-name="down-open" unicode="&#xe80e;" d="M939 399l-414-413q-10-11-25-11t-25 11l-414 413q-11 11-11 26t11 25l93 92q10 11 25 11t25-11l296-296 296 296q11 11 25 11t26-11l92-92q11-11 11-25t-11-26z" horiz-adv-x="1000" />
38
+
39
+ <glyph glyph-name="up-open" unicode="&#xe80f;" d="M939 107l-92-92q-11-10-26-10t-25 10l-296 297-296-297q-11-10-25-10t-25 10l-93 92q-11 11-11 26t11 25l414 414q11 10 25 10t25-10l414-414q11-11 11-25t-11-26z" horiz-adv-x="1000" />
40
+
29
41
  <glyph glyph-name="github-circled-alt2" unicode="&#xf056;" d="M0 350q0-130 63-235 63-109 171-171t235-63q127 0 235 63 109 63 171 171t62 235q0 129-62 235-63 109-171 171t-235 62q-130 0-235-63-109-63-171-171t-63-234z m78 0q0 78 31 151t84 125q53 53 125 84t151 30 150-30 126-84q53-53 83-125t31-151q0-84-34-160t-97-132-142-80v138q0 51-42 80 103 9 150 52t48 136q0 72-45 121 9 27 9 51 0 36-16 67-33 0-59-11t-63-37q-46 10-94 10-55 0-103-11-37 27-63 38t-61 11q-16-31-16-67 0-25 9-51-45-48-45-121 0-93 48-136t151-52q-27-19-38-54-24-8-50-8-19 0-34 8-4 3-8 5t-7 7-7 6-6 8-5 7-6 7-5 7q-23 30-55 30-17 0-17-7 0-3 9-10 15-13 16-14 12-10 13-12 14-18 22-39 27-61 93-61 11 0 42 5v-103q-80 25-142 80t-96 132-35 160z" horiz-adv-x="937.5" />
30
42
 
31
43
  <glyph glyph-name="link-ext" unicode="&#xf08e;" d="M786 332v-178q0-67-47-114t-114-47h-464q-67 0-114 47t-47 114v464q0 66 47 113t114 48h393q7 0 12-5t5-13v-36q0-8-5-13t-12-5h-393q-37 0-63-26t-27-63v-464q0-37 27-63t63-27h464q37 0 63 27t26 63v178q0 8 5 13t13 5h36q8 0 13-5t5-13z m214 482v-285q0-15-11-25t-25-11-25 11l-98 98-364-364q-5-6-13-6t-12 6l-64 64q-6 5-6 12t6 13l364 364-98 98q-11 11-11 25t11 25 25 11h285q15 0 25-11t11-25z" horiz-adv-x="1000" />
@@ -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... :(");