| 1 | {% extends "!layout.html" %} |
| 2 | {% block extrahead %} |
| 3 | <script type="text/javascript"> |
| 4 | var _gaq = _gaq || []; |
| 5 | _gaq.push(['_setAccount', 'UA-29068876-1']); |
| 6 | _gaq.push(['_trackPageview']); |
| 7 | |
| 8 | (function() { |
| 9 | var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
| 10 | ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
| 11 | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
| 12 | })(); |
| 13 | |
| 14 | </script> |
| 15 | {% endblock %} |
| 16 | |
| 17 | {% block sidebarsearch %} |
| 18 | {%- if sourcename %} |
| 19 | <ul class="this-page-menu"> |
| 20 | {%- if 'generated/' in sourcename %} |
| 21 | <li><a href="/scipy/docs/{{ sourcename.replace('generated/', '').replace('.txt', '') |e }}">{{_('Edit page')}}</a></li> |
| 22 | {%- else %} |
| 23 | <li><a href="/scipy/docs/scipy-docs/{{ sourcename.replace('.txt', '.rst') |e }}">{{_('Edit page')}}</a></li> |
| 24 | {%- endif %} |
| 25 | </ul> |
| 26 | {%- endif %} |
| 27 | {{ super() }} |
| 28 | {% endblock %} |