{% block body %}{% endblock %}
{%- if self.comments()|trim %}
{%- block comments %}{% endblock %}
{%- endif%}
{# TEMPLATE VAR SETTINGS #} {%- 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('_', '-')) %} {%- set sphinx_writer = 'writer-html5' if html5_doctype else 'writer-html4' -%} {# Build sphinx_version_info tuple from sphinx_version string in pure Jinja #} {%- set (_ver_major, _ver_minor) = (sphinx_version.split('.') | list)[:2] | map('int') -%} {%- set sphinx_version_info = (_ver_major, _ver_minor, -1) -%} = (7, 2) %} data-content_root="{{ content_root }}"{% endif %}>
{{- metatags }} {%- block htmltitle %}