{%- macro script() %} {%- for js in script_files %} {{ js_tag(js) }} {%- endfor %} {%- endmacro -%} {%- set lang_attr = "en" if language == None else (language|replace('_','-')) -%} {%- if not embedded and docstitle -%} {%- if title == docstitle -%} {%- set titlesuffix = "" -%} {%- else -%} {%- set titlesuffix = " | "|safe + docstitle|e -%} {%- endif -%} {%- else -%} {%- set titlesuffix = "" -%} {%- endif %} {{ metatags }} {%- block htmltitle %} {{ title|striptags|e if title else docstitle }}{{ titlesuffix }} {%- endblock %} {#- Extra CSS files for overriding stuff #} {%- for css in css_files %} {%- endfor %} {%- if pageurl %} {%- endif %} {%- if favicon %} {%- endif %} {%- block linktags %} {%- if hasdoc('search') %} {%- endif %} {%- if hasdoc('genindex') %} {%- endif %} {%- if next %} {%- endif %} {%- if prev %} {%- endif %} {%- endblock %} {#- Theme variables are strings and even if they are defined as booleans in the ``html_theme_options`` dictionary, they are treated as strings. Therefore, we must use string comparison to check, whether a value is ``true`` or not. -#}
{% include "skip.html" %}
{% include "header.html" %}
{% block document %} {% endblock %} {% include "modals.html" %}
{% block scripts %} {{ script() }} {% endblock %}