gravid 1.1.5 → 1.2.1

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: 1397b869df366dedf367a3473b6525e71840ea4a850a3e799e04e5732be7fbab
4
- data.tar.gz: 88b4f3fe44630dd1def742a2dbb40b93dac03539ec634193150a70a1152d2434
3
+ metadata.gz: 19c065b07712b8733d5d64a71e4f91c6964d9f42b88c5ff60ceaf36b7e449bd4
4
+ data.tar.gz: b376c9c530e7e201e3153d58090822f193a282d4bd7c2de8be1f193ca713e51f
5
5
  SHA512:
6
- metadata.gz: ae29dec2a267db305586c7ed7e2883e93cde21eec1aee099f214f8184d0620658467aae8df696dc8d5df7e1aea18e1c9b629f6a926f5b25965c88c1afd3b7cf4
7
- data.tar.gz: 98198cc2d02e42980126f69e45b82eff75b1fc3faa951f4deff6fe1ba04089efe8b641da10b8de50d92444b07dcb0492e0dcd4a92b0d7be8a70ec03184376c16
6
+ metadata.gz: 46fec90e762ca6b7153f73f2bbabe72cb66c04ed76f9e39fb7db6f9b69f690ecf25aa27e6c061b4918ada5f359496b4d142497e08b0643013fc8ca05800a3fa3
7
+ data.tar.gz: ff7293c22eafe35a60f5a82198b25ec5576f7fa7a8da7ea42425b567b4f0538889fa6cabf976e7516f3cf02d7807e16cf0178d496657ebacef056e43d80e23d0
@@ -1,10 +1,9 @@
1
+ <!-- Global site tag (gtag.js) - Google Analytics -->
2
+ <script async src="https://www.googletagmanager.com/gtag/js?id='{{ site.google_analytics.tracking_id }}'"></script>
1
3
  <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');
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments);}
6
+ gtag('js', new Date());
6
7
 
7
- ga('create', '{{ site.google_analytics.tracking_id }}', 'auto');
8
- ga('send', 'pageview');
9
-
10
- </script>
8
+ gtag('config', '{{ site.google_analytics.tracking_id }}');
9
+ </script>
data/_includes/head.html CHANGED
@@ -1,4 +1,5 @@
1
1
  <head>
2
+ {% if site.google_analytics.enable %} {% include google-analytics.html %} {% endif %}
2
3
  <meta charset="utf-8">
3
4
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
@@ -39,6 +40,5 @@
39
40
 
40
41
  <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
41
42
 
42
- <script async src="//www.google-analytics.com/analytics.js"></script>
43
43
  <script data-ad-client="ca-pub-1326478359331739" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
44
44
  </head>
@@ -15,7 +15,6 @@
15
15
 
16
16
  {% include footer.html %}
17
17
 
18
- {% if site.google_analytics.enable %} {% include google-analytics.html %} {% endif %}
19
18
  </body>
20
19
 
21
20
  </html>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gravid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - zddhub
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-21 00:00:00.000000000 Z
11
+ date: 2021-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll