aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
blob: 93ac64b9468df495116b9d90290e2248f4aac555 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{{ define "index" }}
<!DOCTYPE html>
<html>
	<head>
		{{ template "generichead" . }}
		<title>{{ .meta.Title }}</title>
	</head>
	<body>
		<header>
			<h1>{{ .meta.Title }}</h1>
			<h2>{{ .meta.Description }}</h2>
		</header>
		<main>
			<div class="index">
			{{ range .info }}
				<div class="index-name"><a href="/{{ .Name }}">{{ .DisplayName }}</a></div>
				<div class="desc">{{ .Desc }}</div>
				<div>{{ .Idle }}</div>
			{{ end }}
			</div>
		</main>
	</body>
</html>
{{ end }}