blob: 690e2e144175c9ec2e0f1d5e754fc7cfa26762c4 (
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
25
26
|
{{ define "index" }}
<html>
{{ template "head" . }}
<header>
<h1>{{ .meta.Title }}</h1>
<h2>{{ .meta.Description }}</h2>
</header>
<body>
<main>
<div class="repo-index-headings small-heading">
<div>repository</div>
<div>description</div>
<div>idle</div>
</div>
<div class="repo-index">
{{ range .info }}
<div><a href="/{{ .Name }}">{{ .Name }}</a></div>
<div>{{ .Desc }}</div>
<div>{{ .Idle }}</div>
{{ end }}
</div>
</main>
</body>
</html>
{{ end }}
|