all repos — legit @ 5912a0bcb539dce1a220656b3b5c382e65014447

web frontend for git, written in go

templates/index.html (view raw)

 1{{ define "index" }}
 2<html>
 3{{ template "head" . }}
 4
 5  <title>
 6    {{ .meta.Title }}
 7  </title>
 8
 9  <header>
10    <h1>{{ .meta.Title }}</h1>
11    <h2>{{ .meta.Description }}</h2>
12  </header>
13  <body>
14    <main>
15      <div class="index">
16      {{ range .info }}
17       <div class="index-name"><a href="/{{ .Name }}">{{ .Name }}</a></div>
18       <div class="desc">{{ .Desc }}</div>
19       <div>{{ .Idle }}</div>
20      {{ end }}
21      </div>
22    </main>
23  </body>
24</html>
25{{ end }}