{% 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) %}