all repos — legit @ a87f88a57c68627a1f63f1551fcef2c1f1ec7036

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 }}