{%- 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 lang_attr = 'en' if language == None else (language | replace('_', '-')) -%} {{ metatags }} {%- block htmltitle -%} {{ title|striptags|e }}{{ titlesuffix }} {% endblock %} {%- if favicon -%} {%- endif %} {%- if theme_canonical_url -%} {%- endif -%} {%- if not embedded and use_opensearch -%} {%- endif %} {%- if theme_webfont -%} {%- endif %} {%- for cssfile in css_files -%} {%- endfor %} {%- for cssfile in extra_css_files -%} {%- endfor %} {%- 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 %} {%- include "scripts.html" %} {%- if theme_meta_html %}{{ theme_meta_html }}{% endif %} {%- block extrahead %}{% endblock %}
{%- if theme_navs %} {%- endif %}
{% block body %}{% endblock %}
{%- block footer %} {%- endblock %}