summaryrefslogtreecommitdiff
path: root/templates/layouts/_default.html
blob: ada283c2d495bccdd2b4250fed7e2e6a387d4c79 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{{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">
	<style>
		@font-face {
			font-family: 'Mono';
			src: url('/static/V1-ServerMono-Regular.woff2') format('woff2');
			font-weight: normal;
			font-style: normal;
		}
		code {
			font-family: "Mono";
		}
		h1 {
			margin-bottom: 0;
		}
		body {
			max-width: 70ch;
			font-family: "Mono";
		}
		nav ul {
			display: flex;
			list-style: none;
		}

		nav ul li {
			margin-right: 20px;
		}
	</style>
</head>

<body>
	<h2>a73x</h2>
	<sub>high effort, low reward</sub>
	<nav>
		<ul>
			<li><a href="/">home</a></li>
			{{ range $key, $value := .Collections }}
			{{if ne $key "all"}}
			<li><a href="/{{$key}}">{{$key}}</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> 
</body>

</html>
{{end}}