blob: 65d2a3875dc4c0d6515ab4cdbf7d86babb66aa3c (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
<!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>
<style>
body {
font: 1.1rem monospace;
line-height: 1.7;
max-width: 760px;
margin: 40px auto;
padding: 0 20px;
}
pre {
border: 1px dashed #555;
padding: 12px;
overflow-x: auto;
}
img {
max-width: 100%;
}
@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}
}
</style>
{{- 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>
|