{%- block htmltitle -%} {%- if not docstitle -%} {{ title|striptags|e }} {%- elif pagename == root_doc -%} {{ docstitle|striptags|e }} {%- else -%} {{ title|striptags|e }} - {{ docstitle|striptags|e }} {%- endif -%} {%- endblock -%} {%- if favicon_url -%} {%- endif -%} {%- block linktags %} {%- if hasdoc('about') -%} {%- endif -%} {%- if hasdoc('genindex') -%} {%- endif -%} {%- if hasdoc('search') -%} {%- endif -%} {%- if hasdoc('copyright') -%} {%- endif -%} {%- if next -%} {%- endif -%} {%- if prev -%} {%- endif -%} {%- endblock %} {%- block canonicalurl %} {%- if meta and meta.canonical_url -%} {%- elif pageurl %} {%- endif %} {%- endblock -%} {%- block styles -%} {%- for css in css_files -%} {% if css|attr("filename") -%} {{ css_tag(css) }} {%- else -%} {%- endif %} {% endfor -%} {% include "partials/webfonts.html" %} {% block themestyles %}{% endblock %} {%- endblock -%} {%- block extrahead %}{% endblock -%} {%- include "partials/extra-head.html" -%} {%- block document -%} {%- include "partials/banner.html" -%} {%- block header -%} {% include "partials/site-head.html" with context %} {%- endblock -%} {%- block body %}{% endblock -%} {%- block footer -%} {% include "partials/site-foot.html" with context %} {%- endblock -%} {%- endblock -%} {%- block scripts -%} {%- for js in script_files %} {{ js_tag(js) }} {%- endfor %} {%- block theme_scripts %}{% endblock -%} {%- endblock -%} {%- include "partials/extra-foot.html" -%}