{%- set url_root = pathto('', 1) -%} {%- if url_root == '#' %}{% set url_root = '' %}{% endif -%} {%- if not embedded and docstitle %} {%- set titlesuffix = " — "|safe + docstitle|e -%} {%- else %} {%- set titlesuffix = "" -%} {%- endif -%} {%- set blacklist_script_files = [] -%} {%- set blacklist_script_files = blacklist_script_files + ['_static/jquery.js'] -%} {%- set blacklist_script_files = blacklist_script_files + ['_static/underscore.js'] -%} {%- set blacklist_script_files = blacklist_script_files + ['_static/doctools.js'] -%} {%- set blacklist_script_files = blacklist_script_files + ['_static/language_data.js'] -%} {%- set hidetoc = '' %} {%- if meta is defined and meta %} {%- if 'hidetoc' in meta.keys() %} {%- set hidetoc = meta.get('hidetoc') %} {%- endif %} {%- endif %} {%- if metatags %} {{ metatags }} {%- endif %} {% block htmltitle %} {{ title|striptags|e }}{{ titlesuffix }} {% endblock %} {%- if favicon %} {%- endif %} {%- block linktags %} {%- if hasdoc('about') %} {%- endif %} {%- if hasdoc('genindex') %} {%- endif %} {%- if hasdoc('search') %} {%- endif %} {%- if hasdoc('copyright') %} {%- endif %} {%- if parents %} {%- endif %} {%- if next %} {%- endif %} {%- if prev %} {%- endif %} {% endblock -%} {%- block extrahead %}{% endblock -%}
{% include "breadcrumbs.html" %}
{%- if pagename != "search" -%}
{% include "source-buttons.html" %}
{% endif %}

{%- block body %} {% endblock -%} {% include "pager.html" %}
{% if display_toc and not hidetoc %} {% endif %}
{% if not embedded %} {%- for scriptfile in script_files %} {%- if scriptfile not in blacklist_script_files %} {{ js_tag(scriptfile) }} {%- endif %} {%- endfor %} {%- endif %} {%- block search %} {% endblock -%} {%- block scripts2 %}{% endblock -%} {%- block footer %}{% endblock -%} {%- block footer2 %}{% endblock -%}