hacks-guide-minimal-mistake.../_includes/_scripts.html

24 lines
1 KiB
HTML
Raw Normal View History

2013-05-24 16:25:31 +02:00
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
2013-05-24 17:37:44 +02:00
<script>window.jQuery || document.write('<script src="{{ site.url }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
2013-09-09 16:12:07 +02:00
<script src="{{ site.url }}/assets/js/scripts.min.js"></script>
{% if site.owner.google.analytics %}
2013-05-24 16:25:31 +02:00
<!-- Asynchronous Google Analytics snippet -->
<script>
var _gaq = _gaq || [];
2015-04-17 12:43:36 +02:00
var pluginUrl =
2013-05-24 16:25:31 +02:00
'//www.google-analytics.com/plugins/ga/inpage_linkid.js';
_gaq.push(['_require', 'inpage_linkid', pluginUrl]);
_gaq.push(['_setAccount', '{{ site.owner.google.analytics }}']);
2013-05-24 16:25:31 +02:00
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
2014-03-25 17:25:21 +01:00
{% endif %}
{% if page.comments %}
{% include _disqus_comments.html %}
2015-04-17 12:43:36 +02:00
{% endif %}