Skip to content

Commit a066f78

Browse files
committed
Remove Google Analytics and Disqus
1 parent 36ecd85 commit a066f78

2 files changed

Lines changed: 0 additions & 29 deletions

File tree

_includes/head.html

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,4 @@
3131

3232
<!-- RSS -->
3333
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
34-
35-
{% if site.env != 'development' %}
36-
<!-- Google Analytics -->
37-
<script>
38-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
39-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
40-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
41-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
42-
43-
ga('create', 'UA-62449581-1', 'auto');
44-
ga('send', 'pageview');
45-
</script>
46-
{% endif %}
4734
</head>

_layouts/post.html

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,3 @@ <h3>
2323
{% endfor %}
2424
</ul>
2525
</div>
26-
27-
<div id="disqus_thread"></div>
28-
<script type="text/javascript">
29-
/* * * CONFIGURATION VARIABLES * * */
30-
var disqus_shortname = 'cjwirth';
31-
var disqus_identifier = "{{ page.id }}";
32-
var disqus_title = "{{ page.title }}";
33-
34-
/* * * DON'T EDIT BELOW THIS LINE * * */
35-
(function() {
36-
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
37-
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
38-
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
39-
})();
40-
</script>
41-
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>

0 commit comments

Comments
 (0)