all repos — legit @ 9d1d6aaeb8295e489274446a9683b9680a99044c

web frontend for git, written in go

templates: Add link to tar gz handler endpoint
Gabriel A. Giovanini mail@gabrielgio.me
Sun, 23 Jun 2024 15:21:41 +0200
commit

9d1d6aaeb8295e489274446a9683b9680a99044c

parent

acac8d47d0dd4bab02274f750d22937044bee988

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M templates/refs.htmltemplates/refs.html

@@ -14,6 +14,7 @@ <div>

<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 @@ <div>

<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>