blob: 3c052ea1c8c4598277cab53bb2ff98b3c806b94e (
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
|
{{ $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">
{{ 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:site_name" content="{{ .Site.Title }}">
<meta property="og:description" content="{{ .Site.Params.subtext }}">
</head>
<body>
{{ partial "header.html" . }}
<div class="content">
{{ block "main" . }}
{{ . }}
{{ end }}
{{ partial "footer.html" . }}
</div>
</body>
</html>
|