aboutsummaryrefslogtreecommitdiff
path: root/tmpl/root
blob: 72e46139ebeb300a2c5e0476fc0f4538b1270aa4 (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 rel='stylesheet' type='text/css' href='/css/fonts.css'>
	<link rel='stylesheet' type='text/css' href='/css/style.css'>
	<link rel='stylesheet' type='text/css' href='/css/font-awesome.css'>
</head>
<body>
<section>
<header>
<h1>{{template "title" .}}</h1>
<nav>
	<a href="/"><i class="fa fa-home"></i></a>
	<a href="/index"><i class="fa fa-list"></i></a>
	{{with .Title}}
	<a href="/edit/{{.}}"><i class="fa fa-pencil"></i></a>
	<a href="/del/{{.}}"><i class="fa fa-trash"></i></a>
	{{end}}
</nav>
</header>
{{template "content" .}}
</section>
</body>
</html>
{{end}}