{{- $currentPage := . -}}
{{- $url := .RelPermalink -}}
<header class="site">
  <div class="platter grid">
    <h1 class="site gradient">
      <a class="site-name" href="{{ `` | absURL }}">{{ partial "site_name.html" site.Params.shortTitle }}</a>
    </h1>
    {{ partial "site_nav.html" . }}
    <nav class="social">
      {{ with site.Menus.social }}
        {{- range . -}}
          {{- $id := .Identifier -}}
          {{- $targetBlank := .Params.targetBlank | default true -}}
          <li id="social-menu-{{ $id }}">
            <a
              href="{{ .URL }}"
              {{ if $targetBlank }}
                target="_blank"
              {{ end }}
              aria-label="{{ .Name }}">
              <img alt="{{ .Name }}" width=20 height=20>
            </a>
          </li>
        {{- end -}}
      {{ end }}
    </nav>
  </div>
</header>
