blob: 77536f1d45da568c3317b42096a8628367beb5ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{% import "github.com/go-git/go-git/v5/plumbing/object" %}
{% code
type GitItemCommitPage struct {
Commit *object.Commit
}
%}
{% func (g *GitItemCommitPage) Nav(name, ref string) %}{%= GitItemNav(name, ref, Log) %}{% endfunc %}
{% func (g *GitItemCommitPage) GitContent(name, ref string) %}
<div class="event-list">
{%= Commit(name, g.Commit, true) %}
</div>
<div class="alert alert-info text-center" role="alert">
This page is work in progress.
</div>
{% endfunc %}
|