<header class="site-header">
  <div class="site-wrapper">
    <div class="site-header__inner">
      <a href="{{ "/" | relURL }}" class="site-title">{{ .Site.Title }}</a>
      {{- if .Site.Menus.main }}
      <nav aria-label="Main navigation">
        <ul class="site-nav">
          {{- range .Site.Menus.main }}
          <li>
            <a href="{{ .URL }}"{{ if $.IsMenuCurrent "main" . }} class="is-active"{{ end }}>{{ .Name }}</a>
          </li>
          {{- end }}
        </ul>
      </nav>
      {{- end }}
    </div>
  </div>
</header>
