aboutsummaryrefslogtreecommitdiff
path: root/templates/refs.html
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-06-23 15:21:41 +0200
committerAnirudh Oppiliappan <x@icyphox.sh>2024-06-29 11:16:38 +0300
commit9d1d6aaeb8295e489274446a9683b9680a99044c (patch)
treea186f97692a205eab89b7dc244e880d1637d853e /templates/refs.html
parentroutes: Add handler to generate tar gz file (diff)
downloadlegitrx-9d1d6aaeb8295e489274446a9683b9680a99044c.tar.gz
legitrx-9d1d6aaeb8295e489274446a9683b9680a99044c.tar.zst
legitrx-9d1d6aaeb8295e489274446a9683b9680a99044c.zip
templates: Add link to tar gz handler endpoint
Diffstat (limited to '')
-rw-r--r--templates/refs.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/refs.html b/templates/refs.html
index 76add7d..00058d5 100644
--- a/templates/refs.html
+++ b/templates/refs.html
@@ -14,6 +14,7 @@
<strong>{{ .Name.Short }}</strong>
<a href="/{{ $name }}/tree/{{ .Name.Short }}/">browse</a>
<a href="/{{ $name }}/log/{{ .Name.Short }}">log</a>
+ <a href="/{{ $name }}/archive/{{ .Name.Short }}.tar.gz">tar.gz</a>
</div>
{{ end }}
</div>
@@ -25,6 +26,7 @@
<strong>{{ .Name }}</strong>
<a href="/{{ $name }}/tree/{{ .Name }}/">browse</a>
<a href="/{{ $name }}/log/{{ .Name }}">log</a>
+ <a href="/{{ $name }}/archive/{{ .Name }}.tar.gz">tar.gz</a>
{{ if .Message }}
<pre>{{ .Message }}</pre>
</div>