{#- Custom header override with grid layout: Row 1: EKGF logo | centered website title | OMG logo Controls are hidden and moved to the tabs row via JS in main.html -#} {% 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 %}
{# Column 1: EKGF logo #} {# Column 2: Centered website title #}
{{ config.site_name }}
{% if page.meta and page.meta.title %} {{ page.meta.title }} {% else %} {{ page.title }} {% endif %}
{# Column 3: OMG logo #}
{% include "partials/omg-logo.html" %}
{# Components for JS to relocate - palette is now in tabs.html directly #}
{% if config.extra.alternate %} {% include "partials/alternate.html" %} {% endif %} {% if config.repo_url %}
{% include "partials/source.html" %}
{% endif %}
{# Material search modal - must be visible for search to work #} {% if "search" in config.plugins or "material/search" in config.plugins %} {% include "partials/search.html" %} {% endif %}
{% if "navigation.tabs.sticky" in features %} {% if "navigation.tabs" in features %} {% include "partials/tabs.html" %} {% endif %} {% endif %} {#- Palette initialization - runs after tabs.html renders the palette inputs -#} {% if config.theme.palette %} {% if not config.theme.palette is mapping %} {% include "partials/javascripts/palette.html" %} {% endif %} {% endif %}