summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
blob: 98e77f7e96364728a9b10ae040ccaf4b72c04e71 (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
41
42
43
44
45
46
47
48
{{- $cssMain := resources.Get "theme/main.scss" | resources.ToCSS | fingerprint -}}
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="stylesheet" type="text/css" href="{{ $cssMain.Permalink }}">
		{{- range .AlternativeOutputFormats }}
		<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" title="{{ $.Site.Title }}" href="{{ .Permalink }}">
		{{- end }}
		<title>{{ .Page.Title }} - {{ .Site.Title }}</title>
		{{- block "head" . }}
		{{- end }}
	</head>
	<body>
		{{- block "body" . }}
		<header id="site-header">
			<div class="container">
				<nav>
					<a href="/" class="brand-name">{{ .Site.Title }}</a>
					{{- range sort .Site.Sections "Title" }}
					<a href="{{ .Permalink }}">{{ .Title }}</a>
					{{- end }}
				</nav>
			</div>
		</header>
		<main id="site-main">
			<div class="container">
				{{- block "main" . }}{{ end }}
			</div>
		</main>
		<footer id="site-footer">
			<div class="container">
				<hr>
				<p>&copy; 2016 - {{ now.Year }} &ndash; Patrick "tyil" Spek</p>
				<p>
					All content is licensed as per the license shown below
					that content.  All other sources (html, css, ...) are
					released under the terms of the <a
					href="https://www.gnu.org/licenses/gpl-3.0.txt">GNU GPL,
					version 3</a> or later.
				</p>
			</div>
		</footer>
		{{- end }}
	</body>
</html>