Add more analytics and commenting options

This commit is contained in:
Michael Rose
2016-03-07 11:29:35 -05:00
parent 3bd495f1d4
commit 9164c5053d
13 changed files with 111 additions and 42 deletions

View File

@ -2,19 +2,5 @@
<script>window.jQuery || document.write('<script src="{{ base_path }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
<script src="{{ base_path }}/assets/js/scripts.min.js"></script>
{% if site.google_analytics %}
<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', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
{% if page.comments %}
{% include disqus-comments %}
{% endif %}
{% include analytics %}
{% include comments %}