blob: 92c0ca32064382d0f72d92fbbf545dde98228d34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<!DOCTYPE html>
<html lang="{{ site.Language.LanguageCode }}">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8">
{{ if .Title }}
<title>{{ site.Title }} | {{ .Title }}</title>
{{ else }}
<title>{{ site.Title }}</title>
{{ end }}
{{ $favicon := resources.Get "favicon.png" }}
<link rel="icon" type="image/png" href="{{ $favicon.Permalink }}" sizes="48x48">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- css, font and favicon are in assets -->
{{ $css := resources.Get "style.css" }}
<link href="{{ $css.Permalink }}" media="screen, projection" rel="stylesheet" type="text/css">
{{ $font := resources.Get "Iwona-Regular.otf" }}
<link rel="preload" href="{{ $font.Permalink }}" as="font" type="font/otf">
<!-- This tag is necessary since the modern browsers, the pinnacle of human engineering,
trigger CSS transitions on page load without script tags present (Chromium issue 332189, same on FF),
This bug is present since 2012. -->
<script src="/doesnt_exist.js"></script>
</head>
<body>
{{ partial "nav.html" . }}
<main>
<div class="full">
{{ block "main" . }}{{ end }}
</div>
</main>
</body>
</html>
|