{%- import "partials/macros.html" as m with context -%} {%- if side_items %} {{ icon('menu') }} {%- endif %} {%- if config.theme.logo and config.theme.logo_dark %} {%- elif config.theme.logo %} {%- else %} {% include "partials/logo.html" %} {%- endif %} {{ config.theme.brand or config.site_name }} {%- if tabs_on %} {%- for item in nav.items if not (item.is_page and item.is_homepage) %} {%- set href = m.first_url(item) | trim %} {{ item.title }} {%- endfor %} {%- endif %} {{ icon('search') }}{{ t('search') }}Ctrl K {%- if config.theme.version_provider %} {{ icon('git-branch') }}{{ icon('chevron-down', 'sumi-chevron') }} {%- endif %} {%- if config.extra.alternate %} {{ icon('languages') }} {%- for alt in config.extra.alternate %} {{ alt.name }} {%- endfor %} {%- endif %} {{ icon('sun', 'sumi-when-light') }}{{ icon('moon', 'sumi-when-dark') }} {%- if config.repo_url %} {{ m.repo_icon(config.repo_url) }} {%- endif %}