46 lines
1.8 KiB
HTML
46 lines
1.8 KiB
HTML
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
{{ if .IsHome }}
|
|
<meta name="description" content="{{ $.Site.Params.description }}">
|
|
<title>{{.Site.Title}}</title>
|
|
{{ else }}
|
|
<title>{{.Site.Title}} / {{ .Title }}</title>
|
|
|
|
{{ if .Summary }}
|
|
<meta name="description" content="{{ .Summary }}">
|
|
{{ else }}
|
|
<meta name="description" content="{{ .Title }}">
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
<link href="/blog/index.xml" rel="alternate" type="application/rss+xml" title="{{ $.Site.Params.author }}'s blog">
|
|
|
|
{{ $style := resources.Get "css/site.css" }}
|
|
{{ if hugo.IsProduction }}
|
|
{{ $style = $style | minify | fingerprint | resources.PostProcess }}
|
|
{{ end }}
|
|
<link href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}" rel="stylesheet">
|
|
|
|
<link rel="shortcut icon" href="/favicon.ico?v=3" type="image/x-icon">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=2">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=2">
|
|
|
|
{{ $masonry := resources.Get "js/masonry.min.js" }}
|
|
{{ if hugo.IsProduction }}
|
|
{{ $masonry = $masonry | fingerprint | resources.PostProcess }}
|
|
{{ end }}
|
|
<script src="{{ $masonry.RelPermalink }}" integrity="{{ $masonry.Data.Integrity }}"></script>
|
|
|
|
{{ $imagesloaded := resources.Get "js/imagesloaded.min.js" }}
|
|
{{ if hugo.IsProduction }}
|
|
{{ $imagesloaded = $imagesloaded | fingerprint | resources.PostProcess }}
|
|
{{ end }}
|
|
<script src="{{ $imagesloaded.RelPermalink }}" integrity="{{ $imagesloaded.Data.Integrity }}"></script>
|
|
|
|
<meta name="robots" content="noai">
|
|
<meta name="fediverse:creator" content="{{ $.Site.Params.fediverse_url }}" />
|
|
|
|
{{ partial "opengraph.html" . }}
|
|
</head>
|