all repos — legit @ f3c20bcb27b5546d57d7c212c023dda914348c9b

web frontend for git

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