aboutsummaryrefslogtreecommitdiff
path: root/templates/gititem.qtpl.go
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-06-09 20:07:00 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-06-09 20:07:00 +0200
commit2fcc394c53f995750b52ad06153041f61f0a0c55 (patch)
tree6828a8e2520fdf27611efb33509f3cc745de68d4 /templates/gititem.qtpl.go
parent02614b3781f6acdfc6df0e7b07d856b2779c4ac7 (diff)
downloadcerrado-2fcc394c53f995750b52ad06153041f61f0a0c55.tar.gz
cerrado-2fcc394c53f995750b52ad06153041f61f0a0c55.tar.bz2
cerrado-2fcc394c53f995750b52ad06153041f61f0a0c55.zip
feat: Add global reference to ref and name
Diffstat (limited to 'templates/gititem.qtpl.go')
-rw-r--r--templates/gititem.qtpl.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/gititem.qtpl.go b/templates/gititem.qtpl.go
index a7ed659..7cfeeb4 100644
--- a/templates/gititem.qtpl.go
+++ b/templates/gititem.qtpl.go
@@ -26,11 +26,11 @@ type GitItemBase interface {
//line gititem.qtpl:2
WriteNav(qq422016 qtio422016.Writer, name, ref string)
//line gititem.qtpl:2
- GitContent() string
+ GitContent(name, ref string) string
//line gititem.qtpl:2
- StreamGitContent(qw422016 *qt422016.Writer)
+ StreamGitContent(qw422016 *qt422016.Writer, name, ref string)
//line gititem.qtpl:2
- WriteGitContent(qq422016 qtio422016.Writer)
+ WriteGitContent(qq422016 qtio422016.Writer, name, ref string)
//line gititem.qtpl:2
}
@@ -121,7 +121,7 @@ func (p *GitItemPage) StreamContent(qw422016 *qt422016.Writer) {
<div class="container">
`)
//line gititem.qtpl:23
- p.StreamGitContent(qw422016)
+ p.StreamGitContent(qw422016, p.Name, p.Ref)
//line gititem.qtpl:23
qw422016.N().S(`
</div>