cerrado @ a47effe083d70cae7f039ff207087447a7a82ee0

 1{% import "github.com/go-git/go-git/v5/plumbing/object" %}
 2
 3{% code
 4type GitItemCommitPage struct {
 5    Commit *object.Commit
 6    Diff string
 7}
 8%}
 9
10{% func (g *GitItemCommitPage) Nav(name, ref string) %}{%= GitItemNav(name, ref, Log) %}{% endfunc %}
11
12{% func (g *GitItemCommitPage) GitContent(name, ref string) %}
13<div class="event-list">
14  {%= Commit(name, g.Commit, true) %}
15</div>
16<div class="code-view">
17<pre>{%s g.Diff %}</pre>
18</div>
19{% endfunc %}