Changeset 53 for trunk/adm/website/_templates/layout.html
- Timestamp:
- 06/23/11 18:52:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/adm/website/_templates/layout.html
r48 r53 1 1 {% extends "!layout.html" %} 2 2 3 {%- block extrahead %} 4 {{ super() }} 5 <script type="text/javascript"> 6 var _gaq = _gaq || []; 7 _gaq.push(['_setAccount', 'UA-24127110-1']); 8 _gaq.push(['_trackPageview']); 9 </script> 10 {% endblock %} 11 12 {% block footer %} 13 {{ super() }} 14 <div class="footer">This page uses <a href="http://analytics.google.com/"> 15 Google Analytics</a> to collect statistics. You can disable it by blocking 16 the JavaScript coming from www.google-analytics.com. 17 <script type="text/javascript"> 18 (function() { 19 var ga = document.createElement('script'); 20 ga.src = ('https:' == document.location.protocol ? 21 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; 22 ga.setAttribute('async', 'true'); 23 document.documentElement.firstChild.appendChild(ga); 24 })(); 25 </script> 26 </div> 27 {% endblock %} 3 28 4 29 {% block rootrellink %} 5 6 7 30 <li><a href="{{ pathto('index') }}">home</a>| </li> 31 <li><a href="{{ pathto('search') }}">search</a>| </li> 32 <li><a href="{{ pathto('contents') }}">documentation </a> »</li> 8 33 {% endblock %} 9 34 … … 21 46 {% block sidebar1 %}{{ sidebar() }}{% endblock %} 22 47 {% block sidebar2 %}{% endblock %} 23
Note: See TracChangeset
for help on using the changeset viewer.