{#- The header every wheelgap site shares (wheelgap.github.io, the tracker, the gap wheels and these docs), in place of Material's own: the wheelgap logo (to wheelgap.github.io), Material's palette toggle, search and repository, then the same menu button and links, last in the bar as on the other sites. Where the links don't fit beside the tools, they're a popover behind that button at the far right (Material's own menu button, for the docs' pages, is at the left). The logo and links are a copy of wheelgap/tracker's scripts/build_campaigns.py site_bar("docs"), styled by docs/stylesheets/brand.css (a copy of the tracker's site/brand.css) and docs/stylesheets/material.css. Based on Material for MkDocs 9.8's partials/header.html, which it replaces: keep the palette, search and source parts in step with that file when Material is upgraded. -#} {% set class = "md-header wg-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 %}
wheelgap
{% if config.theme.palette %} {% if not config.theme.palette is mapping %} {% include "partials/palette.html" %} {% endif %} {% endif %} {% if not config.theme.palette is mapping %} {% include "partials/javascripts/palette.html" %} {% endif %} {% if "material/search" in config.plugins %} {% set search = config.plugins["material/search"] | attr("config") %} {% if search.enabled %} {% include "partials/search.html" %} {% endif %} {% endif %} {% if config.repo_url %}
{% include "partials/source.html" %}
{% endif %}