{#- Custom, remove source link as we add it on the footer Based on https://raw.githubusercontent.com/squidfunk/mkdocs-material/7.1.7/src/partials/header.html -#} {% include "partials/logo.html" %} {% include ".icons/material/menu" ~ ".svg" %} {{ config.site_name }} {% if page.meta and page.meta.title %} {{ page.meta.title }} {% else %} {{ page.title }} {% endif %} {% if config.theme.palette %} {% if not config.theme.palette is mapping %} {% for option in config.theme.palette %} {% set scheme = option.scheme | d("default", true) %} {% set primary = option.primary | d("indigo", true) %} {% set accent = option.accent | d("indigo", true) %} {% if option.toggle %} {% include ".icons/" ~ option.toggle.icon ~ ".svg" %} {% endif %} {% endfor %} {% endif %} {% endif %} {% if config.extra.alternate %} {% set icon = config.theme.icon.alternate or "material/translate" %} {% include ".icons/" ~ icon ~ ".svg" %} {% for alt in config.extra.alternate %} {{ alt.name }} {% endfor %} {% endif %} {% if "material/search" in config.plugins %} {% include ".icons/material/magnify.svg" %} {% include "partials/search.html" %} {% endif %}