summaryrefslogtreecommitdiff
path: root/templates/layouts/_default.html
blob: 4ea88880d75aa8032c3ee2c5bb0d6988dd5627b9 (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
{{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>
		<h1>a73x</h1>
		<sub>high effort, low reward</sub>
		<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>
		{{ 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}}