aboutsummaryrefslogtreecommitdiff
path: root/templates/home.html
blob: a7460f87d0a0db9a5c10d9f0e22255e983921285 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{define "title"}}{{.Site}}{{end}}
{{define "main"}}
<table summary="repository list" class="list nowrap">
<tr class="nohover"><th class="left">Name</th><th class="left">Description</th></tr>
{{range .Data.Repos}}
<tr>
<td><a href="/{{.Path}}/">{{.Path}}</a>{{if eq .Repo.Visibility "private"}} <span class="dim">private</span>{{end}}</td>
<td>{{.Repo.Desc}}</td>
</tr>
{{else}}
<tr><td colspan="2" class="dim">
{{if $.User}}Nothing you can read yet.{{else}}Nothing public here. <a href="/login">Sign in</a> to see the rest.{{end}}
</td></tr>
{{end}}
</table>
{{end}}