blob: df728aa16f28fb76a187189eb9ad10089d631e2d [file] [log] [blame]
Georg Brandle7570052008-05-03 20:52:18 +00001{% extends "!layout.html" %}
2{% block rootrellink %}
Georg Brandlaf265f42008-12-07 15:06:20 +00003 <li><img src="{{ pathto('_static/py.png', 1) }}" alt=""
4 style="vertical-align: middle; margin-top: -1px"/></li>
Georg Brandlab712142012-03-25 20:31:57 +02005 <li><a href="http://www.python.org/">Python</a>{{ reldelim1 }}</li>
Georg Brandlaf265f42008-12-07 15:06:20 +00006 <li><a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }}</li>
7{% endblock %}
8{% block extrahead %}
9 <link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" />
Ezio Melotti43427222012-02-25 19:24:24 +020010 {% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
Georg Brandl2cac28b2012-09-30 15:10:06 +020011 {% if pagename == 'whatsnew/news' %}
12 <script type="text/javascript">
13 function dofilter() {
14 var el = document.getElementById('searchbox');
15 var string = el.value.toLowerCase();
16 var litags = document.getElementsByTagName('li')
17 for (var idx = 0; idx < litags.length; idx++) {
18 var li = litags[idx];
19 if (li.innerHTML.toLowerCase().indexOf(string) >= 0) {
20 li.style.display = '';
21 } else {
22 li.style.display = 'none';
23 }
24 }
25 }
26 </script>
27 {% endif %}
Georg Brandlaf265f42008-12-07 15:06:20 +000028{{ super() }}
Georg Brandle7570052008-05-03 20:52:18 +000029{% endblock %}
Georg Brandl3eb562b2009-08-04 20:25:54 +000030{% block footer %}
31 <div class="footer">
32 &copy; <a href="{{ pathto('copyright') }}">Copyright</a> {{ copyright|e }}.
33 <br />
34 The Python Software Foundation is a non-profit corporation.
35 <a href="http://www.python.org/psf/donations/">Please donate.</a>
36 <br />
37 Last updated on {{ last_updated|e }}.
Georg Brandl582c0a62010-04-22 23:20:19 +000038 <a href="{{ pathto('bugs') }}">Found a bug</a>?
39 <br />
Georg Brandl3eb562b2009-08-04 20:25:54 +000040 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version|e }}.
41 </div>
42{% endblock %}
Georg Brandl582c0a62010-04-22 23:20:19 +000043{% block sidebarsourcelink %}
44{%- if show_source and has_source and sourcename %}
45<h3>{{ _('This Page') }}</h3>
46<ul class="this-page-menu">
47 <li><a href="{{ pathto('bugs') }}">Report a Bug</a></li>
48 <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}"
49 rel="nofollow">Show Source</a></li>
50</ul>
51{%- endif %}
52{% endblock %}