all repos — legit @ d083d5d72e4bf496b8152d14986818a5b63fe301

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>
    {{ template "nav" . }}
    <main>
      <table>
        <tr>
          <td>repository</td>
          <td>description</td>
          <td>last active</td>
        </tr>
        {{ range .info }}
        <tr>
          <td><a href="/{{ .Name }}">{{ .Name }}</a></td>
          <td>{{ .Desc }}</td>
          <td>{{ .Idle }}</td>
        </tr>
        {{ end }}
      </table>
    </main>
  </body>
</html>
{{ end }}