{{define "content"}}
{{$p := .Data.Page}}
<h2>Log <span class="muted">{{$p.Ref}}</span></h2>
{{if $p.Empty}}<p class="muted">No commits.</p>{{else}}
<ul class="commits">{{range .Data.Commits}}<li><a class="hash" href="/{{$p.Repo.Path}}/commit/{{.Hash}}">{{short .Hash}}</a><span class="subject"><a href="/{{$p.Repo.Path}}/commit/{{.Hash}}">{{.Subject}}</a></span><span class="who">{{.Author}}</span><span class="when" title="{{date .Time}}">{{ago .Time}}</span></li>{{end}}</ul>
{{with .Data.Next}}<p><a href="?from={{.}}">Older →</a></p>{{end}}
{{end}}
{{end}}
|