29 lines
1.4 KiB
HTML
29 lines
1.4 KiB
HTML
<!doctype html>
|
|
<html lang="{{ site.Language.Locale | default "en" }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ .Title }} | {{ site.Title }}{{ end }}</title>
|
|
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Summary }}{{ . | plainify | truncate 160 }}{{ else }}{{ site.Params.description }}{{ end }}{{ end }}">
|
|
<link rel="preload" href="{{ "fonts/public-sans-latin-wght-normal.woff2" | relURL }}" as="font" type="font/woff2" crossorigin>
|
|
{{ with resources.Get "css/main.css" | minify | fingerprint }}
|
|
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}">
|
|
{{ end }}
|
|
<link rel="icon" href="{{ "clifford.svg" | relURL }}" type="image/svg+xml">
|
|
</head>
|
|
<body class="{{ if .IsHome }}is-home{{ else }}is-doc{{ end }}">
|
|
<a class="skip" href="#main">Skip to content</a>
|
|
{{ partial "header.html" . }}
|
|
<div class="frame">
|
|
{{ if not .IsHome }}{{ partial "sidebar.html" . }}{{ end }}
|
|
<main id="main" tabindex="-1">
|
|
{{ block "main" . }}{{ end }}
|
|
</main>
|
|
</div>
|
|
{{ partial "footer.html" . }}
|
|
{{ with resources.Get "js/site.js" | js.Build (dict "minify" true) | fingerprint }}
|
|
<script src="{{ .RelPermalink }}" defer data-index="{{ "index.json" | relURL }}"></script>
|
|
{{ end }}
|
|
</body>
|
|
</html>
|