all repos — legit @ 9649b3ed2b252cab6ab4076d58814790582f07f0

fork of git.icyphox.sh/legit

templates/index.html

{{ define "index" }}
<html>
{{ template "head" . }}

  <header>
    <h1>{{ .meta.Title }}</h1>
    <h2>{{ .meta.Description }}</h2>
  </header>
  <body>
    <main>
      <div class="repo-index-headings small-heading">
        <div>repository</div>
        <div>description</div>
        <div>idle</div>
      </div>
      <div class="repo-index">
      {{ range .info }}
       <div><a href="/{{ .Name }}">{{ .Name }}</a></div>
       <div>{{ .Desc }}</div>
       <div>{{ .Idle }}</div>
      {{ end }}
      </div>
    </main>
  </body>
</html>
{{ end }}