aboutsummaryrefslogtreecommitdiff
path: root/tmpl/root
blob: 093ad193b3f5eaf8e425c01d0de09d093e14931b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{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>
<nav>
	<span>{{template "title" .}}</span>
	{{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}}
	<a href="/" title="home"><i class="fa fa-home"></i></a>
	<a href="/index" title="index"><i class="fa fa-list"></i></a>
</nav>
{{template "content" .}}
</body>
</html>
{{end}}