{#- The D-Modem sites' theme: Zensical's with the suite's bar on top and the
repository's colour from pages/suite.yml as its accent (extra.repo in mkdocs.yml). -#}
{% extends "base.html" %}
{% block extrahead %}
{#- the colour of each core repository (pages/suite.yml, as extra.suite);
the suite's own site, and a site not in the list, have the carrier green #}
{%- set ns = namespace(accent="#3dff9a") -%}
{%- for site in config.extra.suite or [] if site.name == config.extra.repo -%}
{%- set ns.accent = site.colour -%}
{%- endfor %}
{%- if config.extra.repo == "D-Modem.github.io" %}
{#- the suite's own site: the header's edge striped in all six Books, like the mark #}
{%- endif %}
{{ super() }}
{% endblock %}
{% block header %}
{% include "partials/suite.html" %}
{{ super() }}
{% endblock %}