aboutsummaryrefslogtreecommitdiff
path: root/tmpl/root
blob: ae31e3694c1ad31934318864b53f20bdf7836b5d (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
{{define "root"}}
<!DOCTYPE html>
<html>
<head>
	<title>{{template "title" .}}</title>
	<link href='http://fonts.googleapis.com/css?family=Raleway|Anonymous+Pro' rel='stylesheet' type='text/css'>
	<style>
		body {
			font-family: 'Raleway', sans-serif;
			margin: 5% 10%;
		}
		pre {
			font-family: 'Anonymous Pro', monospace;
		}
	</style>
</head>
<body>
<section>
<header>
<h1>{{template "title" .}}</h1>
<nav><a href="/">root</a> <a href="/index">index</a> {{with .Title}}<a href="/edit/{{.}}">edit</a>{{end}}</nav>
</header>
{{template "content" .}}
</section>
</body>
</html>
{{end}}