aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemrefs.qtpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/gititemrefs.qtpl')
-rw-r--r--templates/gititemrefs.qtpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/gititemrefs.qtpl b/templates/gititemrefs.qtpl
index ff1561b..6244082 100644
--- a/templates/gititemrefs.qtpl
+++ b/templates/gititemrefs.qtpl
@@ -21,6 +21,7 @@ type GitItemRefsPage struct {
</div>
<div class="col-8">
<div class="float-end">
+ <a href="/{%s name %}/archive/{%s t.Name().Short() %}.tar.gz">tar.gz</a>
<a href="/{%s name %}/tree/{%s t.Name().Short() %}/">tree</a>
<a href="/{%s name %}/log/{%s t.Name().Short() %}/">log</a>
</div>
@@ -41,6 +42,7 @@ type GitItemRefsPage struct {
</div>
<div class="col-8">
<div class="float-end">
+ <a href="/{%s name %}/archive/{%s b.Name().Short() %}.tar.gz">tar.gz</a>
<a href="/{%s name %}/tree/{%s b.Name().Short() %}/">tree</a>
<a href="/{%s name %}/log/{%s b.Name().Short() %}/">log</a>
</div>