Mercurial > pylearn
diff doc/.templates/layout.html @ 943:0181459b53a1
merge
author | James Bergstra <bergstrj@iro.umontreal.ca> |
---|---|
date | Wed, 11 Aug 2010 13:16:05 -0400 |
parents | 9472d234db2e |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/.templates/layout.html Wed Aug 11 13:16:05 2010 -0400 @@ -0,0 +1,24 @@ +{% extends "!layout.html" %} + +{%- block extrahead %} +{{ super() }} +<script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-168290-9']); + _gaq.push(['_trackPageview']); +</script> +{% endblock %} + +{% block footer %} +{{ super() }} +<script type="text/javascript"> + (function() { + var ga = document.createElement('script'); + ga.src = ('https:' == document.location.protocol ? + 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + ga.setAttribute('async', 'true'); + document.documentElement.firstChild.appendChild(ga); + })(); +</script> +{% endblock %} +