all repos — legit @ 396548546ed56088cc837080fe44a963199ed7ff

Unnamed repository; edit this file 'description' to name the repository.

templates/log.html (view raw)

 1{{ define "log" }}
 2<!doctype html>
 3<html>
 4{{ template "head" . }}
 5
 6  <body>
 7    {{ template "repoheader" . }}
 8    {{ template "nav" . }}
 9    <main>
10      {{ $repo := .name }}
11      <div class="log">
12        {{ range .commits }}
13        <div>
14          <div>
15              <a href="/{{ $repo }}/commit/{{ .Commit.Hash.String }}" class="commit-hash">{{ slice .Commit.Hash.String 0 8 }}</a>
16              {{ if .HasReference }}
1718              {{ range $ref := .References }}
19              <a href="/{{ $repo }}/tree/{{ $ref.Name.Short }}" class="commit-hash">{{ $ref.Name.Short }}</a>
20              {{ end }}
21              {{ end }}
22          </div>
23          <pre>{{ .Commit.Message }}</pre>
24        </div>
25        <div class="commit-info">
26          {{ .Commit.Author.Name }} <a href="mailto:{{ .Commit.Author.Email }}" class="commit-email">{{ .Commit.Author.Email }}</a>
27          <div>{{ .Commit.Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div>
28        </div>
29        {{ end }}
30      </div>
31    </main>
32  </body>
33</html>
34{{ end }}