aboutsummaryrefslogtreecommitdiff
path: root/templates/gititem.qtpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/gititem.qtpl')
-rw-r--r--templates/gititem.qtpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/gititem.qtpl b/templates/gititem.qtpl
index d695782..a6a312d 100644
--- a/templates/gititem.qtpl
+++ b/templates/gititem.qtpl
@@ -1,7 +1,7 @@
{% interface
GitItemBase {
Nav(name, ref string)
- GitContent()
+ GitContent(name, ref string)
}
%}
@@ -20,7 +20,7 @@ type GitItemPage struct {
{% func (p *GitItemPage) Content() %}
{%= p.Nav(p.Name, p.Ref) %}
<div class="container">
-{%= p.GitContent() %}
+{%= p.GitContent(p.Name, p.Ref) %}
</div>
{% endfunc %}