mirror of
https://github.com/aljazceru/cryptoanarchywiki.github.io.git
synced 2025-12-17 13:14:21 +01:00
Prevent google analytics being loaded locally
This commit is contained in:
@@ -3,7 +3,7 @@ description: Arise, you have nothing to lose but your barbed wire fences!
|
|||||||
author: cryptoanarchy.wiki
|
author: cryptoanarchy.wiki
|
||||||
github: https://github.com/cryptoanarchywiki/cryptoanarchywiki.github.io
|
github: https://github.com/cryptoanarchywiki/cryptoanarchywiki.github.io
|
||||||
about: Arise, you have nothing to lose but your barbed wire fences!
|
about: Arise, you have nothing to lose but your barbed wire fences!
|
||||||
disqus_shortname: stackproblems
|
disqus_shortname:
|
||||||
google_analytics: UA-XXXXXXXX-Y
|
google_analytics: UA-XXXXXXXX-Y
|
||||||
avatar_url: /static/img/avatar.jpg
|
avatar_url: /static/img/avatar.jpg
|
||||||
|
|
||||||
@@ -25,10 +25,10 @@ social:
|
|||||||
|
|
||||||
share:
|
share:
|
||||||
twitter_username: _cryptoanarchy
|
twitter_username: _cryptoanarchy
|
||||||
fb_appid: 1749788565247320
|
fb_appid:
|
||||||
|
|
||||||
urls:
|
urls:
|
||||||
- text: About Me
|
- text: About Us
|
||||||
url: /about/
|
url: /about/
|
||||||
- text: My Projects
|
- text: My Projects
|
||||||
url: /projects/
|
url: /projects/
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ layout: compress
|
|||||||
<link rel="stylesheet" href="/static/css/projects.css">
|
<link rel="stylesheet" href="/static/css/projects.css">
|
||||||
<link rel="stylesheet" href="/static/css/main.css">
|
<link rel="stylesheet" href="/static/css/main.css">
|
||||||
|
|
||||||
|
{% if jekyll.environment == "production" %}
|
||||||
<!-- Google Analytics -->
|
<!-- Google Analytics -->
|
||||||
<script>
|
<script>
|
||||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||||
@@ -126,6 +127,7 @@ layout: compress
|
|||||||
ga('create', '{{ site.google_analytics }}', 'auto');
|
ga('create', '{{ site.google_analytics }}', 'auto');
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
</script>
|
</script>
|
||||||
|
{% endif %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
Reference in New Issue
Block a user