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/gititemblob.qtpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/gititemblob.qtpl') diff --git a/templates/gititemblob.qtpl b/templates/gititemblob.qtpl index 89d002d..f9bab3d 100644 --- a/templates/gititemblob.qtpl +++ b/templates/gititemblob.qtpl @@ -7,7 +7,7 @@ type GitItemBlobPage struct { {% func (g *GitItemBlobPage) Nav(name, ref string) %}{%= GitItemNav(name, ref, Tree) %}{% endfunc %} -{% func (g *GitItemBlobPage) GitContent() %} +{% func (g *GitItemBlobPage) GitContent(name, ref string) %}
{%z= g.Content %}
-- cgit v1.2.3