all repos — legit @ d58151dbb07a5d5dd7eaf6fc9f12566898823a46

web frontend for git, written in go

templates/index.html (view raw)

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