39 lines
1.8 KiB
HTML
39 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="de">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
{{ $title := cond .IsHome (printf "%s – Punkrock aus Trier" site.Title) (printf "%s | %s" .Title site.Title) -}}
|
||
{{ $desc := .Params.description | default site.Params.description -}}
|
||
<title>{{ $title }}</title>
|
||
<meta name="description" content="{{ $desc }}">
|
||
<meta name="theme-color" content="#081226">
|
||
<link rel="canonical" href="{{ .Permalink }}">
|
||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||
|
||
<meta property="og:type" content="website">
|
||
<meta property="og:title" content="{{ $title }}">
|
||
<meta property="og:description" content="{{ $desc }}">
|
||
<meta property="og:url" content="{{ .Permalink }}">
|
||
<meta property="og:locale" content="de_DE">
|
||
{{ with resources.Get "img/AlbumReleaseParty_Stage_compressed.jpg" }}{{ with .Resize "1200x jpg q80" }}
|
||
<meta property="og:image" content="{{ .Permalink }}">{{ end }}{{ end }}
|
||
|
||
<link rel="preload" href="/fonts/big-shoulders-display-latin-900-normal.woff2" as="font" type="font/woff2" crossorigin>
|
||
<link rel="preload" href="/fonts/archivo-latin-400-normal.woff2" as="font" type="font/woff2" crossorigin>
|
||
{{ $css := resources.Get "css/main.css" | minify | fingerprint }}
|
||
<link rel="stylesheet" href="{{ $css.RelPermalink }}" integrity="{{ $css.Data.Integrity }}">
|
||
{{ partial "schema.html" . }}
|
||
</head>
|
||
<body class="{{ if .IsHome }}is-home{{ end }}">
|
||
<a class="skip-link" href="#inhalt">Zum Inhalt springen</a>
|
||
{{ partial "header.html" . }}
|
||
<main id="inhalt">
|
||
{{ block "main" . }}{{ end }}
|
||
</main>
|
||
{{ partial "footer.html" . }}
|
||
{{ $js := resources.Get "js/site.js" | minify | fingerprint }}
|
||
<script src="{{ $js.RelPermalink }}" defer></script>
|
||
</body>
|
||
</html>
|