<header class="site-header">
  <div class="container header-inner">
    <a class="site-brand" href="{{ .Site.Home.RelPermalink }}">
      <img src="{{ "logo.svg" | relURL }}" alt="" width="32" height="32" aria-hidden="true">
      <span>{{ .Site.Title }}</span>
    </a>
    <nav class="site-nav" aria-label="{{ i18n "navLabel" }}">
      {{- range .Site.Menus.main -}}
        {{- $active := strings.HasPrefix $.RelPermalink (.URL | relURL) -}}
        <a class="nav-link{{ if $active }} active{{ end }}" href="{{ .URL | relURL }}">{{ .Name }}</a>
      {{- end -}}
    </nav>
    {{ partial "lang-switcher.html" . }}
  </div>
</header>
