aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
blob: 18ea1356639a73371575e8486ee844d845e00fb6 (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
<!DOCTYPE html>
<html lang="en">
	<head>
		{{ $title := print .Title " - " .Site.Title }}
		{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
		<title>{{ $title | title }}</title>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
		<link rel="stylesheet" type="text/css" href="/stylesheets/highlight.css">
		<link rel="stylesheet" type="text/css" href="/stylesheets/style.css">
		{{- block "head" . }}{{- end }}
	</head>
	<body>
		<header>
			<a id="homelink" href="/">{{ .Site.Title }}</a>
			<span id="title">{{ .Title }}</span>
			<div id="menu">
				{{- range sort site.Menus.main "Weight" }}
				<a href="{{ .URL }}">{{ .Name }}</a>
				{{- end }}
			</div>
		</header>
		<main>
			{{- block "main" . }}{{- end }}
		</main>
		<footer>
			<hr>
			<div id="sharing">
				<a><img src="/icons/rss_feed_24dp_78A75A_FILL0_wght400_GRAD0_opsz24.svg" /></a>
			</div>
			{{ if .Site.Params.copyright.include }}
			<span id="copyright">&copy; {{ time.Now.Year }} {{ .Site.Params.copyright.name }} &ndash; {{ .Site.Params.copyright.type }}</span>
			{{ end }}
			{{ partial "theme-copyright.html" . }}
		</footer>
	</body>
</html>