31 lines
1.2 KiB
HTML
31 lines
1.2 KiB
HTML
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
{{ if .IsPage }} <meta name="description" content="{{ .Summary }}"> {{ end }}
|
|
|
|
<title>
|
|
{{ if not .IsHome }}
|
|
{{ .Title }}
|
|
{{ else }}
|
|
{{ $.Site.Title }}
|
|
{{ end }}
|
|
</title>
|
|
|
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="{{ $.Site.Params.favicon | relURL }}" />
|
|
{{ $options := (dict "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction)) }}
|
|
{{ $sass := resources.Get "css/main.scss" }}
|
|
{{ $style := $sass | css.Sass $options | resources.Fingerprint "sha512" }}
|
|
<link rel="stylesheet" href="{{ $style.Permalink | relURL }}" integrity="{{ $style.Data.Integrity }}" />
|
|
{{ if .Params.mathjax }} {{ partial "mathjax.html" . }} {{ end }}
|
|
|
|
<!-- Privacy-friendly analytics by Plausible -->
|
|
<script async src="https://plausible.federated.computer/js/pa-ncZwtMkbfU3uDfPuf-92s.js"></script>
|
|
<script>
|
|
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
|
|
plausible.init()
|
|
</script>
|
|
|
|
</head>
|