all repos — legit @ 1574bbecb5b2856b2018d064a32d2e7f484a58b1

web frontend for git, written in go

templates/index.html (view raw)

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