{#- Ported from furo 2025.12.19 (b788b8a), MIT (Pradyun Gedam). See LICENSE-FURO. -#} {%- 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 -%} {#- rel="canonical" (set by html_baseurl) -#} {%- if pageurl %} {%- endif %} {#- The sidebar logo is the LCP element on most consumer docs sites. `rel="preload"` (not `prefetch`) plus `fetchpriority="high"` promotes it from idle-queue to critical-path, dropping LCP from several seconds to sub-second. Block name is preserved for backwards compatibility with downstream template overrides. -#} {%- block logo_prefetch_links %} {%- if logo_url %} {%- endif %} {%- if theme_light_logo and theme_dark_logo %} {%- endif %} {%- endblock logo_prefetch_links %} {%- endblock linktags %} {# Favicon #} {%- if favicon_url -%} {%- endif -%} {%- endblock site_meta -%} {#- Site title -#} {%- block htmltitle -%} {% if not docstitle %} {{ title|striptags|e }} {% elif pagename == master_doc %} {{ docstitle|striptags|e }} {% else %} {{ title|striptags|e }} - {{ docstitle|striptags|e }} {% endif %} {%- endblock -%} {%- block styles -%} {# Custom stylesheets #} {%- block regular_styles -%} {%- for css in css_files -%} {% if css|attr("filename") -%} {{ css_tag(css) }} {%- else -%} {%- endif %} {% endfor -%} {%- endblock regular_styles -%} {#- Theme-related stylesheets -#} {%- block theme_styles %} {% include "partials/_head_css_variables.html" with context %} {%- endblock -%} {%- block extra_styles %} {%- endblock -%} {%- endblock styles -%} {#- Custom front matter #} {%- block extrahead -%}{%- endblock -%} {% block body %} {% endblock %} {%- block scripts -%} {# Custom JS #} {%- block regular_scripts -%} {% for path in script_files -%} {{ js_tag(path) }} {% endfor -%} {%- endblock regular_scripts -%} {# Theme-related JavaScript code #} {%- block theme_scripts -%} {%- endblock -%} {%- endblock scripts -%}