<!doctype html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
  <head>
    <meta
      http-equiv="onion-location"
      content="http://golfed6fzytoktol4de4o4nerap3xuykhfm5makfzscib65df3khnpyd.onion"
    />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!-- Icons are handled separately in custom_head.html -->
    <!-- {{- partial "favicon.html" . -}} -->
    <!-- prettier-ignore -->
    <title>{{- block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{- end }}</title>

    {{- partial "seo_tags.html" . -}}
    <meta name="referrer" content="no-referrer-when-downgrade" />

    <!-- Included cache busting (fingerprinting) to the imported resources (css & cfg files) -->
    {{ $style := resources.Get "style.css" | minify | fingerprint }}
    <link href="{{ $style.RelPermalink }}" rel="stylesheet" />

    {{ if (.Page.Store.Get "hasCodeBlock") }}
      {{ $syntax := resources.Get "syntax.css" | minify | fingerprint }}
      <link href="{{ $syntax.RelPermalink }}" rel="stylesheet" />
    {{ end }}

    {{ with .Params.style }}
      {{ $extra := resources.Get . | minify | fingerprint }}
      <link href="{{ $extra.RelPermalink }}" rel="stylesheet" />
    {{ end }}

    {{ with .OutputFormats.Get "rss" -}}
      {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
    {{ end -}}


    <!-- A partial to be overwritten by the user.
  Simply place a custom_head.html into
  your local /layouts/partials-directory -->
    {{- partial "custom_head.html" . -}}
  </head>

  <body>
    <header>
      {{- partial "header.html" . -}}
    </header>
    <main id="main-content">
      {{- block "main" . }}{{- end }}
    </main>
    <footer>
      {{- partial "footer.html" . -}}
    </footer>

    <!-- A partial to be overwritten by the user.
  Simply place a custom_body.html into
  your local /layouts/partials-directory -->
    {{- partial "custom_body.html" . -}}
  </body>
</html>