diff options
| author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-06-22 16:30:47 +0200 | 
|---|---|---|
| committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-06-22 16:30:47 +0200 | 
| commit | e1664fcbc4685906d3dabc66bf947a17bce7efc0 (patch) | |
| tree | c9ec73616b841e72397fca975e46f691d031e621 /templates/gititemrefs.qtpl | |
| parent | 19839337ce0c74b67c5480b71e98d97a112aa104 (diff) | |
| download | cerrado-e1664fcbc4685906d3dabc66bf947a17bce7efc0.tar.gz cerrado-e1664fcbc4685906d3dabc66bf947a17bce7efc0.tar.bz2 cerrado-e1664fcbc4685906d3dabc66bf947a17bce7efc0.zip  | |
feat: Add archive capability
Diffstat (limited to 'templates/gititemrefs.qtpl')
| -rw-r--r-- | templates/gititemrefs.qtpl | 2 | 
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>  | 
