{#- Site-wide theme override: extends Material's base to add web fonts, custom styles, and the SEO head block below (noindex for nightly, homepage JSON-LD). Homepage-specific blocks live in home.html, which extends this file. -#} {% extends "base.html" %} {% block styles %} {{ super() }} {% endblock %} {#- SEO head extensions shared across every page. `config.extra.mike_version` carries the deployed mike version (populated from $MIKE_DOCS_VERSION via mkdocs.yml); it is empty on a plain `mkdocs build`. The canonical URL itself is unified onto `latest/` by mike's `canonical_version` option (see the mike plugin config in mkdocs.yml), so no rewrite is needed here. -#} {% block extrahead %} {{ super() }} {%- if config.extra.mike_version == "nightly" or (page and page.meta and page.meta.noindex) %} {%- endif %} {#- Twitter/X card metas are emitted by Material's social plugin (twitter:card/title/ description/image); no override needed here. -#} {%- if page.is_homepage %} {%- endif %} {% endblock %}