all repos — legit @ 8a5486431aa93cd4641c720b07af311e513523fc

web frontend for git

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 }}">{{ .DisplayName }}</a></div>
14       <div class="desc">{{ .Desc }}</div>
15       <div>{{ .Idle }}</div>
16      {{ end }}
17      </div>
18    </main>
19  </body>
20</html>
21{{ end }}