Mercurial > pylearn
comparison 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 |
comparison
equal
deleted
inserted
replaced
942:fdd648c7c583 | 943:0181459b53a1 |
---|---|
1 {% extends "!layout.html" %} | |
2 | |
3 {%- block extrahead %} | |
4 {{ super() }} | |
5 <script type="text/javascript"> | |
6 var _gaq = _gaq || []; | |
7 _gaq.push(['_setAccount', 'UA-168290-9']); | |
8 _gaq.push(['_trackPageview']); | |
9 </script> | |
10 {% endblock %} | |
11 | |
12 {% block footer %} | |
13 {{ super() }} | |
14 <script type="text/javascript"> | |
15 (function() { | |
16 var ga = document.createElement('script'); | |
17 ga.src = ('https:' == document.location.protocol ? | |
18 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
19 ga.setAttribute('async', 'true'); | |
20 document.documentElement.firstChild.appendChild(ga); | |
21 })(); | |
22 </script> | |
23 {% endblock %} | |
24 |