aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/baseof.html
blob: 56da54cc92d047a7dd238ceededd7617f2121fc8 (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
<!doctype html>
<html lang={{ or .Site.LanguageCode "zh-cn" }}>

<head>
	<meta charset=utf-8>
	<meta name=viewport content="width=device-width,initial-scale=1">
	<meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett">
	<meta name=referrer content="no-referrer-when-downgrade">
	<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ printf "%s | %s" .Title .Site.Title }}{{ end }}</title>
	{{- partial "style.html" . -}}
	{{- partial "favicon.html" . -}}
	{{- partial "seo_tags.html" . -}}

	<link rel=alternate type=application/rss+xml href=/atom.xml title={{ .Site.Title }}>
	{{- with .OutputFormats.Get "rss" -}}
	<link rel={{ .Rel }} type={{ .MediaType.Type }} href={{ .Permalink }} title={{ $.Site.Title }}>
	{{- end -}}

	{{- partial "custom_head.html" . -}}
</head>

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

</html>