all repos — legit @ d1774f5a6d25242d659b1a08656de9e20fa84e26

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