<header class="site-nav">
  <a href="/" class="appname">
    <img src="/brand/icon-logo.svg" height="30" /> strimertül
  </a>
  <nav>
    <a
      href="{{ relURL "" }}"
      {{ if .IsHome }}class="current"{{ end }}
      >Overview</a
    >
    {{ $currentPage := . }}
    {{ $section := .Site.GetPage $currentPage.Section }}
    {{ range .Site.Menus.main }}
      <a
        class="navbar-item {{ if $section.IsMenuCurrent "main" . }}
          current
        {{ end }}"
        href="{{ .URL | absLangURL | safeURL }}"
      >
        {{ .Name }}
      </a>
    {{ end }}
    <a href="https://git.sr.ht/~ashkeel/strimertul">Source code</a>
  </nav>
</header>
