Remove Google stuff

Plus button and Analytics.
This commit is contained in:
Gergely Polonkai 2018-08-04 08:11:50 +02:00
parent 3a1a8758fb
commit e9996808be
4 changed files with 0 additions and 24 deletions

View File

@ -16,9 +16,6 @@
{% if page.post_listing %}
</a>
{% endif %}
{% if layout.render_post %}
<div class="plusone-container"><div class="g-plusone" data-annotation="inline" data-size="small" data-width="300"></div></div>
{% endif %}
{% if page.tag %}
</h5>
{% else %}

View File

@ -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') {

View File

@ -4,8 +4,6 @@ render_post: true
---
{% assign post = page %}
{% include blog-post.html %}
<div class="g-plus" data-action="share" data-height="15"></div>
<nav>
<ul class="pager">
{% if page.previous %}

View File

@ -164,10 +164,6 @@ body
.paginator
margin: .5em 0
.plusone-container
margin-left: 1em
display: inline
.tag-label
+border-radius(2px, 2px, 0, 0)
+background-clip-padding-box