<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
    <link rel="icon" type="image/x-icon" href="/favicon.ico">
    <link rel="stylesheet" href="/tailwind.css" />
    {{ if hugo.IsProduction }}
    {{ $dark   := resources.Get "css/dark.css"   | minify | fingerprint }}
    {{ $nav    := resources.Get "css/nav.css"    | minify | fingerprint }}
    {{ $post   := resources.Get "css/post.css"   | minify | fingerprint }}
    {{ $footer := resources.Get "css/footer.css" | minify | fingerprint }}
    <link rel="stylesheet" href="{{ $dark.RelPermalink }}" integrity="{{ $dark.Data.Integrity }}" />
    <link rel="stylesheet" href="{{ $nav.RelPermalink }}" integrity="{{ $nav.Data.Integrity }}" />
    <link rel="stylesheet" href="{{ $post.RelPermalink }}" integrity="{{ $post.Data.Integrity }}" />
    <link rel="stylesheet" href="{{ $footer.RelPermalink }}" integrity="{{ $footer.Data.Integrity }}" />
    <script defer data-api="/api/event" data-domain="ekzy.is" src="/js/script.js"></script>
    {{ else }}
    {{ $dark   := resources.Get "css/dark.css" }}
    {{ $nav    := resources.Get "css/nav.css"  }}
    {{ $post   := resources.Get "css/post.css" }}
    {{ $footer := resources.Get "css/footer.css" }}
    <link rel="stylesheet" href="{{ $dark.RelPermalink }}" />
    <link rel="stylesheet" href="{{ $nav.RelPermalink }}" />
    <link rel="stylesheet" href="{{ $post.RelPermalink }}" />
    <link rel="stylesheet" href="{{ $footer.RelPermalink }}" />
    {{ end }}
    {{ $htmx := resources.Get "js/htmx.js" | minify | fingerprint }}
    <script src="{{ $htmx.RelPermalink }}" integrity="{{ $htmx.Data.Integrity }}"></script>
</head>