{%- block site_meta -%} {%- if metatags %}{{ metatags }}{% 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 linktags %} {# Favicon #} {%- if favicon -%} {%- endif -%} {#- Generator banner -#} {%- endblock site_meta -%} {#- Site title -#} {%- block htmltitle -%} {{ title }} {%- endblock -%} {#- Theme-related stylesheets -#} {%- block theme_styles -%} {% include "partials/_head_css_variables.html" with context %} {%- endblock -%} {# Custom stylesheets #} {%- block extracss -%} {%- for path in css_files -%} {% endfor -%} {%- endblock -%} {# Theme-related JavaScript libraries #} {%- block theme_scripts -%} {%- endblock -%} {# Custom JS #} {%- block extrajs -%} {%- for path in script_files -%} {# We don't want Sphinx's hard-coded scripts #} {%- if path not in ["_static/jquery.js", "_static/underscore.js", "_static/doctools.js", "_static/language_data.js"] -%} {%- endif -%} {% endfor -%} {%- endblock -%} {#- Custom front matter #} {%- block extrahead -%}{%- endblock -%} {% block body %}{% endblock %}