cerrado @ 72495f4538215051540eb05c14db0ed16142e06e

 1{% import "github.com/go-git/go-git/v5/plumbing/object" %}
 2
 3{% code
 4type GitItemLogPage struct {
 5    Commits []*object.Commit
 6}
 7%}
 8
 9{% func (g *GitItemLogPage) Nav(name, ref string) %}{%= GitItemNav(name, ref, Log) %}{% endfunc %}
10
11{% func (g *GitItemLogPage) GitContent(name, ref string) %}
12<div class="event-list">
13  {% for _, c := range g.Commits %}
14  <div class="row event">
15
16      <div class="col-xxl-2">
17       {%s TimeFormat(c.Committer.When) %}
18      </div>
19      <div class="col-xxl-7 code-view">
20       <pre>{%s c.Message %}</pre>
21      </div>
22      <div class="col-xxl-3">
23       <small>{%s c.Committer.Name %} &lt;{%s c.Committer.Email %}&gt;</small>
24      </div>
25  </div>
26  {% endfor %}
27</div>
28{% endfunc %}