cerrado @ 4096e343f8c139316bab5fec6fba3d4365c3bef8

 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  {%= Commit(name, c) %}
15  {% endfor %}
16</div>
17{% endfunc %}