{#- Overrides mkdocs-material 9.7.6's partials/header.html for two things: (1) a text link to the code-free app in the header's right-hand row, placed before the search box; and (2) the palette (light/dark) toggle moved to the far right end of the header, after the repository link. The App link is deliberately plain text, not the .md-source repo-link classes: those carry a responsive width cap and hide/ellipsis rules tuned for a repo icon and name, which squeezed this link's label out of view. If upgrading mkdocs-material changes this file upstream, re-diff against the new partials/header.html and re-apply the "App link" and moved-palette blocks. [tool.scopusflow.mkdocs-material-fork] in pyproject.toml records that version and the upstream file's hash, and the docs workflow fails the deploy when the installed template no longer matches, so this note is checked rather than merely written down. -#} {% set class = "md-header" %} {% if "navigation.tabs.sticky" in features %} {% set class = class ~ " md-header--shadow md-header--lifted" %} {% elif "navigation.tabs" not in features %} {% set class = class ~ " md-header--shadow" %} {% endif %}
{% if "navigation.tabs.sticky" in features %} {% if "navigation.tabs" in features %} {% include "partials/tabs.html" %} {% endif %} {% endif %}