blob: 37a6059f22fdc88e0bbd438fd48597d8626eef43 (
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
40
|
{{ $pageTitle := "" }}
{{ if not .IsHome }}
{{ $pageTitle = printf "%s - %s" .Title .Site.Title }}
{{ else }}
{{ $pageTitle = .Site.Title }}
{{ end }}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ $pageTitle }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="{{ .Site.Params.iconURL }}">
{{ with resources.Get "css/noto-serif.css" | minify | fingerprint }}
<link rel="stylesheet" href="{{ .Permalink }}">
{{ end }}
{{ with resources.Get "css/style.css" | minify | fingerprint }}
<link rel="stylesheet" href="{{ .Permalink }}">
{{ end }}
<meta property="og:title" content="{{ $pageTitle }}">
<meta property="og:url" content="{{ .Page.RelPermalink }}">
<meta property="og:image" content="{{ .Site.Params.iconURL }}">
<meta property="og:site_name" content="{{ .Site.Title }}">
<meta property="og:description" content="{{ .Site.Params.subtext }}">
</head>
<body>
<nav>
{{ partial "nav.html" . }}
</nav>
<main>
{{ block "main" . }}
{{ .Content }}
{{ end }}
</main>
<footer>
{{ partial "footer.html" . }}
</footer>
</body>
</html>
|