aboutsummaryrefslogtreecommitdiff
path: root/tmpl/root
blob: d9b533cf2fbe0b325fb6e7ffb6e930e341c62859 (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.min.css'>
</head>
<body>
<section>
<header>
<h1>{{template "title" .}}</h1>
<nav>
	<a href="/" title="home"><i class="fa fa-home"></i></a>
	<a href="/index" title="index"><i class="fa fa-list"></i></a>
	{{with .Title}}
	<a href="/edit/{{.}}" title="edit {{.}}"><i class="fa fa-pencil"></i></a>
	<!--a href="/del/{{.}}" title="delete {{.}}"><i class="fa fa-trash"></i></a-->
	{{end}}
</nav>
</header>
{{template "content" .}}
</section>
</body>
</html>
{{end}}