all repos — legit @ cd22584c7477f796f69c32a6259e174e2d0ae145

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 }}">{{ .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 }}