blob: c3992245614082c7a87f4f17feaed2d1d9ad95d5 [file] [log] [blame]
Georg Brandle7570052008-05-03 20:52:18 +00001{% extends "!layout.html" %}
Jon Wayne Parrottbf63e8d2018-03-01 13:02:50 -08002
Georg Brandle7570052008-05-03 20:52:18 +00003{% block rootrellink %}
Jon Wayne Parrottbf63e8d2018-03-01 13:02:50 -08004{{ super() }}
5 <li>
6 {%- if switchers is defined %}
7 <span class="language_switcher_placeholder">{{ language or 'en' }}</span>
8 <span class="version_switcher_placeholder">{{ release }}</span>
9 <a href="{{ pathto('index') }}">{% trans %}Documentation {% endtrans %}</a>{{ reldelim1 }}
10 {%- else %}
11 <a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }}
12 {%- endif %}
Zachary Warea3090a42016-09-09 13:11:27 -070013 </li>
Zachary Warea3090a42016-09-09 13:11:27 -070014{% endblock %}
Jon Wayne Parrottbf63e8d2018-03-01 13:02:50 -080015
Georg Brandlaf265f42008-12-07 15:06:20 +000016{% block extrahead %}
Nick Coghlane6624452017-02-09 16:03:59 +010017 <link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html" />
Steve Dowerfb4a96a2016-09-22 17:07:56 -070018 {% if builder != "htmlhelp" %}
Jon Wayne Parrottbf63e8d2018-03-01 13:02:50 -080019 {% if switchers is defined and not embedded %}
20 <script type="text/javascript" src="{{ pathto('_static/switchers.js', 1) }}"></script>{% endif %}
21 {% if pagename == 'whatsnew/changelog' and not embedded %}
22 <script type="text/javascript" src="{{ pathto('_static/changelog_search.js', 1) }}"></script>{% endif %}
Steve Dowerfb4a96a2016-09-22 17:07:56 -070023 {% endif %}
Yury Selivanov394374e2018-09-17 15:35:24 -040024
25 {# custom CSS; used in asyncio docs! #}
26 <style>
27 @media only screen {{ "{" }}
28 table.full-width-table {{ "{" }}
29 width: 100%;
30 {{ "}" }}
31 {{ "}" }}
32 </style>
Georg Brandlaf265f42008-12-07 15:06:20 +000033{{ super() }}
Georg Brandle7570052008-05-03 20:52:18 +000034{% endblock %}