summaryrefslogtreecommitdiffstats
path: root/layouts/_default/baseof.html
blob: dd29a6b0f44e6f12d35003adce79b50b3047b7c1 (plain) (blame)
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
<!doctype html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
	<head>
		<!-- <link rel="stylesheet" href="/css/style.css" /> -->
		<link rel="stylesheet" href="/css/style.css" />
		<meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" />
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		{{- partial "favicon.html" . -}}
		<title>{{ .Title }}</title>

		{{- partial "seo_tags.html" . -}}
		<meta name="referrer" content="no-referrer-when-downgrade" />

		{{ with .OutputFormats.Get "rss" -}} {{ printf `
		<link rel="%s" type="%s" href="%s" title="%s" />
		` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}}

		<!-- A partial to be overwritten by the user.
  Simply place a custom_head.html into
  your local /layouts/partials-directory -->
		{{- partial "custom_head.html" . -}}
	</head>

	<body>
		<main>{{- block "main" . }}{{- end }}</main>
		<footer>{{- partial "footer.html" . -}}</footer>

		<!-- A partial to be overwritten by the user.
  Simply place a custom_body.html into
  your local /layouts/partials-directory -->
		{{- partial "custom_body.html" . -}}
	</body>
</html>