Georg Brandl | 4f1f36b | 2008-04-27 20:03:05 +0000 | [diff] [blame] | 1 | {% extends "!layout.html" %} |
| 2 | {% block rootrellink %} |
Georg Brandl | 6212971 | 2008-12-07 11:54:07 +0000 | [diff] [blame] | 3 | <li><img src="{{ pathto('_static/py.png', 1) }}" alt="" |
| 4 | style="vertical-align: middle; margin-top: -1px"/></li> |
Ezio Melotti | 3d07206 | 2012-10-27 22:04:56 +0300 | [diff] [blame^] | 5 | <li><a href="http://www.python.org/">Python</a>{{ reldelim1 }}</li> |
| 6 | <li> |
| 7 | {%- if versionswitcher is defined %} |
| 8 | <span class="version_switcher_placeholder">{{ release }}</span> |
| 9 | <a href="{{ pathto('index') }}">Documentation</a>{{ reldelim1 }} |
| 10 | {%- else %} |
| 11 | <a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }} |
| 12 | {%- endif %} |
| 13 | </li> |
Georg Brandl | 6212971 | 2008-12-07 11:54:07 +0000 | [diff] [blame] | 14 | {% endblock %} |
| 15 | {% block extrahead %} |
| 16 | <link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" /> |
Ezio Melotti | f5ea48f | 2012-02-25 19:24:24 +0200 | [diff] [blame] | 17 | {% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %} |
Ezio Melotti | 3d07206 | 2012-10-27 22:04:56 +0300 | [diff] [blame^] | 18 | {% if versionswitcher is defined and not embedded %}<script type="text/javascript" src="{{ pathto('_static/version_switch.js', 1) }}"></script>{% endif %} |
Georg Brandl | 6212971 | 2008-12-07 11:54:07 +0000 | [diff] [blame] | 19 | {{ super() }} |
Georg Brandl | 4f1f36b | 2008-04-27 20:03:05 +0000 | [diff] [blame] | 20 | {% endblock %} |
Georg Brandl | 4809c73 | 2009-08-04 20:22:43 +0000 | [diff] [blame] | 21 | {% block footer %} |
| 22 | <div class="footer"> |
| 23 | © <a href="{{ pathto('copyright') }}">Copyright</a> {{ copyright|e }}. |
| 24 | <br /> |
Ezio Melotti | 3d07206 | 2012-10-27 22:04:56 +0300 | [diff] [blame^] | 25 | The Python Software Foundation is a non-profit corporation. |
Georg Brandl | 4809c73 | 2009-08-04 20:22:43 +0000 | [diff] [blame] | 26 | <a href="http://www.python.org/psf/donations/">Please donate.</a> |
| 27 | <br /> |
| 28 | Last updated on {{ last_updated|e }}. |
Georg Brandl | e11d85c | 2010-04-22 22:15:33 +0000 | [diff] [blame] | 29 | <a href="{{ pathto('bugs') }}">Found a bug</a>? |
| 30 | <br /> |
Georg Brandl | 4809c73 | 2009-08-04 20:22:43 +0000 | [diff] [blame] | 31 | Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version|e }}. |
| 32 | </div> |
| 33 | {% endblock %} |
Georg Brandl | e11d85c | 2010-04-22 22:15:33 +0000 | [diff] [blame] | 34 | {% block sidebarsourcelink %} |
| 35 | {%- if show_source and has_source and sourcename %} |
| 36 | <h3>{{ _('This Page') }}</h3> |
| 37 | <ul class="this-page-menu"> |
| 38 | <li><a href="{{ pathto('bugs') }}">Report a Bug</a></li> |
| 39 | <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}" |
| 40 | rel="nofollow">Show Source</a></li> |
| 41 | </ul> |
| 42 | {%- endif %} |
| 43 | {% endblock %} |