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/gititemabout.qtpl.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/gititemabout.qtpl.go') diff --git a/templates/gititemabout.qtpl.go b/templates/gititemabout.qtpl.go index 0827fbe..cd49d2f 100644 --- a/templates/gititemabout.qtpl.go +++ b/templates/gititemabout.qtpl.go @@ -55,7 +55,7 @@ func (g *GitItemAboutPage) Nav(name, ref string) string { } //line gititemabout.qtpl:8 -func (g *GitItemAboutPage) StreamGitContent(qw422016 *qt422016.Writer) { +func (g *GitItemAboutPage) StreamGitContent(qw422016 *qt422016.Writer, name, ref string) { //line gititemabout.qtpl:8 qw422016.N().S(`

About

@@ -64,22 +64,22 @@ func (g *GitItemAboutPage) StreamGitContent(qw422016 *qt422016.Writer) { } //line gititemabout.qtpl:10 -func (g *GitItemAboutPage) WriteGitContent(qq422016 qtio422016.Writer) { +func (g *GitItemAboutPage) WriteGitContent(qq422016 qtio422016.Writer, name, ref string) { //line gititemabout.qtpl:10 qw422016 := qt422016.AcquireWriter(qq422016) //line gititemabout.qtpl:10 - g.StreamGitContent(qw422016) + g.StreamGitContent(qw422016, name, ref) //line gititemabout.qtpl:10 qt422016.ReleaseWriter(qw422016) //line gititemabout.qtpl:10 } //line gititemabout.qtpl:10 -func (g *GitItemAboutPage) GitContent() string { +func (g *GitItemAboutPage) GitContent(name, ref string) string { //line gititemabout.qtpl:10 qb422016 := qt422016.AcquireByteBuffer() //line gititemabout.qtpl:10 - g.WriteGitContent(qb422016) + g.WriteGitContent(qb422016, name, ref) //line gititemabout.qtpl:10 qs422016 := string(qb422016.B) //line gititemabout.qtpl:10 -- cgit v1.2.3