From 2fcc394c53f995750b52ad06153041f61f0a0c55 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sun, 9 Jun 2024 20:07:00 +0200 Subject: feat: Add global reference to ref and name --- templates/gititemlog.qtpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/gititemlog.qtpl') diff --git a/templates/gititemlog.qtpl b/templates/gititemlog.qtpl index ef473b7..1af05ca 100644 --- a/templates/gititemlog.qtpl +++ b/templates/gititemlog.qtpl @@ -8,7 +8,7 @@ type GitItemLogPage struct { {% func (g *GitItemLogPage) Nav(name, ref string) %}{%= GitItemNav(name, ref, Log) %}{% endfunc %} -{% func (g *GitItemLogPage) GitContent() %} +{% func (g *GitItemLogPage) GitContent(name, ref string) %}
{% for _, c := range g.Commits %}
-- cgit v1.2.3