From e9996808bea0f3a8451704859c36696dd54e691a Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sat, 4 Aug 2018 08:11:50 +0200 Subject: [PATCH] Remove Google stuff Plus button and Analytics. --- _includes/blog-post.html | 3 --- _layouts/default.html | 15 --------------- _layouts/post.html | 2 -- css/style.sass | 4 ---- 4 files changed, 24 deletions(-) diff --git a/_includes/blog-post.html b/_includes/blog-post.html index 62a602a..fbc905c 100644 --- a/_includes/blog-post.html +++ b/_includes/blog-post.html @@ -16,9 +16,6 @@ {% if page.post_listing %} {% endif %} -{% if layout.render_post %} -
-{% endif %} {% if page.tag %} {% else %} diff --git a/_layouts/default.html b/_layouts/default.html index 5fe2faf..4964c00 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -28,21 +28,6 @@ }); }); - (function() { - var po = document.createElement('script'); - po.type = 'text/javascript'; - po.async = true; - po.src = 'https://apis.google.com/js/client:plusone.js?onload=start'; - - var s = document.getElementsByTagName('script')[0]; - s.parentNode.insertBefore(po, s); - })(); - - (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); - - ga('create', 'UA-43569023-1', 'polonkai.eu'); - ga('send', 'pageview'); - jQuery.extend_if_has = function(desc, source, array) { for (var i=array.length;i--;) { if (typeof source[array[i]] != 'undefined') { diff --git a/_layouts/post.html b/_layouts/post.html index b6318df..3757ed6 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -4,8 +4,6 @@ render_post: true --- {% assign post = page %} {% include blog-post.html %} -
-