diff options
| author | Franck Cuny <franck@lumberjaph.net> | 2013-07-25 18:19:52 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@lumberjaph.net> | 2013-07-25 18:19:52 -0700 |
| commit | b42718f7d9aac88a3048c616193f81deff49e401 (patch) | |
| tree | f964fbae3d81cb6af155d612985f4b344267f4b5 /_includes/scripts.html | |
| parent | attempt for a new design (diff) | |
| download | lumberjaph-b42718f7d9aac88a3048c616193f81deff49e401.tar.gz | |
First attempt with the new theme.
Diffstat (limited to '_includes/scripts.html')
| -rw-r--r-- | _includes/scripts.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/_includes/scripts.html b/_includes/scripts.html new file mode 100644 index 0000000..6b4a6a8 --- /dev/null +++ b/_includes/scripts.html @@ -0,0 +1,21 @@ +<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> +<script>window.jQuery || document.write('<script src="{{ site.url }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script> +<script src="{{ site.url }}/assets/js/main.min.js"></script> +{% if site.google_analytics %} +<!-- Asynchronous Google Analytics snippet --> +<script> + var _gaq = _gaq || []; + var pluginUrl = + '//www.google-analytics.com/plugins/ga/inpage_linkid.js'; + _gaq.push(['_require', 'inpage_linkid', pluginUrl]); + _gaq.push(['_setAccount', '{{ site.google_analytics }}']); + _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> +{% endif %} +{% if site.disqus_shortname and page.comments %}{% include disqus_comments.html %}{% endif %}
\ No newline at end of file |
