all repos — legit @ 7fe98772b079cca83b854e8f8a6be5dc55c10483

fork of git.icyphox.sh/legit

templates/index.html

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

  <title>
    {{ .meta.Title }}
  </title>

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