aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemsummary.qtpl
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-06-22 16:30:47 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-06-22 16:30:47 +0200
commite1664fcbc4685906d3dabc66bf947a17bce7efc0 (patch)
treec9ec73616b841e72397fca975e46f691d031e621 /templates/gititemsummary.qtpl
parent19839337ce0c74b67c5480b71e98d97a112aa104 (diff)
downloadcerrado-e1664fcbc4685906d3dabc66bf947a17bce7efc0.tar.gz
cerrado-e1664fcbc4685906d3dabc66bf947a17bce7efc0.tar.bz2
cerrado-e1664fcbc4685906d3dabc66bf947a17bce7efc0.zip
feat: Add archive capability
Diffstat (limited to 'templates/gititemsummary.qtpl')
-rw-r--r--templates/gititemsummary.qtpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/gititemsummary.qtpl b/templates/gititemsummary.qtpl
index e3d3a08..06a785a 100644
--- a/templates/gititemsummary.qtpl
+++ b/templates/gititemsummary.qtpl
@@ -23,6 +23,7 @@ type GitItemSummaryPage 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>