adding DNT to GA, removing disqus

This commit is contained in:
Steve Francia 2018-05-26 10:08:23 -04:00
parent f3ab21c61f
commit 876f0fe18a
4 changed files with 15 additions and 18 deletions

View File

@ -2,8 +2,9 @@ baseurl = "http://spf13.com/"
title = "Hacking Management"
languageCode = "en-us"
disqusShortname = "spf13"
copyright = "Copyright (c) 2008 - 2014, Steve Francia; all rights reserved."
MetaDataFormat = "yaml"
copyright = "Copyright (c) 2008 - 2018, Steve Francia; all rights reserved."
MetaDataFormat = "toml"
googleAnalytics = "UA-7131036-1"
[author]
name = "Steve Francia"
@ -12,3 +13,12 @@ MetaDataFormat = "yaml"
tag = "tags"
topic = "topics"
[privacy]
[privacy.googleAnalytics]
anonymizeIP = true
respectDoNotTrack = true
useSessionStorage = true
[privacy.twitter]
enableDNT = true
[privacy.youtube]
privacyEnhanced = true

View File

@ -1,4 +0,0 @@
<aside id=comments>
<div><h2> Comments </h2></div>
{{ template "_internal/disqus.html" . }}
</aside>

View File

@ -1,9 +1,9 @@
<footer>
<div>
<p>
&copy; 2013-17 <span itemprop="author" itemscope itemtype="http://schema.org/Person">
&copy; 2013-18 <span itemprop="author" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Steve Francia.</span></span>
<a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons Attribution">Some rights reserved</a>;
<a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons Attribution">Some rights reserved</a>;
please attribute properly and link back. <br>
Powered by <a href="http://gohugo.io">Hugo</a>.
</p>
@ -13,15 +13,6 @@
(function(){var j=function(a,b){return window.getComputedStyle?getComputedStyle(a).getPropertyValue(b):a.currentStyle[b]};var k=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,false);else a.attachEvent('on'+b,c)};var l=function(a,b){for(key in b)if(b.hasOwnProperty(key))a[key]=b[key];return a};window.fitText=function(d,e,f){var g=l({'minFontSize':-1/0,'maxFontSize':1/0},f);var h=function(a){var b=e||1;var c=function(){a.style.fontSize=Math.max(Math.min(a.clientWidth/(b*10),parseFloat(g.maxFontSize)),parseFloat(g.minFontSize))+'px'};c();k(window,'resize',c)};if(d.length)for(var i=0;i<d.length;i++)h(d[i]);else h(d);return d}})();
fitText(document.getElementById('title'), 1)
</script>
<script>
(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-7131036-1', 'spf13.com');
ga('require', 'linkid', 'linkid.js');
ga('require', 'displayfeatures');
ga('send', 'pageview');
</script>
{{ template "_internal/google_analytics_async.html" . }}
</body>
</html>