{%- macro script() -%} {% for js in script_files %} {{ js_tag(js) }} {% endfor %} {%- endmacro -%} {%- set lang_attr = "en" if language == None else (language|replace('_','-')) -%} {{ metatags }} {{ title|striptags|e if title else docstitle }} {%- if pageurl %} {%- endif %} {%- if favicon %} {%- endif %} {%- block linktags %} {%- if hasdoc('search') %} {%- endif %} {%- if hasdoc('genindex') %} {%- endif %} {%- if next %} {%- endif %} {%- if prev %} {%- endif %} {%- endblock %} {% include "header.html" %}
{% include "nav.html" -%} {% block content %} {% block document %} {% block main %} {% include "main.html" %} {% endblock main %} {% endblock document %} {% endblock content %} {% include "footer.html" %} {% include "search-pane.html" %} {% include "modals.html" %}
{% block scripts %} {{ script() }} {% endblock %}