blob: e685f23d3e39c7ac8b44f8291617624c97f9cf92 (
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) %}
</div>
<div class="alert alert-info text-center" role="alert">
This page is work in progress.
</div>
{% endfunc %}
|