summaryrefslogtreecommitdiff
path: root/templates/layouts/_default.html
blob: dfc5a7e15fab51273f9b59b06ed7bf1710130dcf (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
{{define "base"}}
<!DOCTYPE html>
<html lang="en">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="description" content="Home for a73x" />
	<meta name="author" content="a73x" />
	<meta name="viewport"
		content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width" />
	<title>a73x</title>
	<link rel="stylesheet" href="/static/styles.css">
	<link rel="stylesheet" href="/static/syntax.css">
</head>

<body>
	<main>
		<div class="header">
			<div class="header-title">
				<h1>a73x</h1>
				<sub>high effort, low reward</sub>
			</div>
			<nav class="nav">
				<ul>
					{{ range $vvv, $navPair:= .Nav}}
					{{ if eq $.Path $navPair.Path }}
					<li><a href="{{$navPair.Path}}">{{$navPair.Title}}</a></li>
					{{else}}
					<li><a class="no-decorations" href="{{$navPair.Path}}">{{$navPair.Title}}</a></li>
					{{end}}
					{{end}}
				</ul>
			</nav>
		</div>
		{{ template "content" . }}
		<footer>
			<br />
			<hr />
			​​​​​​​​​​​​​​​​​​​<br />​
			<p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p>
		</footer>
	</main>
</body>

</html>
{{end}}