summaryrefslogtreecommitdiffstats
path: root/templates/repo.html
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-12 21:33:09 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-12 21:33:09 +0530
commit01f27147baf80e2222927ddca9369c7d99b4ff3c (patch)
treeffd8f1431f83ae4f1b390c907ee45c377c84f436 /templates/repo.html
parent82b8afe19b77fe02e1a29a5b5e20882d8e5c3fc5 (diff)
downloadlegit-01f27147baf80e2222927ddca9369c7d99b4ff3c.tar.gz
legit-01f27147baf80e2222927ddca9369c7d99b4ff3c.tar.bz2
legit-01f27147baf80e2222927ddca9369c7d99b4ff3c.zip
routes: index view
Diffstat (limited to 'templates/repo.html')
-rw-r--r--templates/repo.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo.html b/templates/repo.html
index a033f0d..ddc3f01 100644
--- a/templates/repo.html
+++ b/templates/repo.html
@@ -37,7 +37,7 @@
{{ if $parent }}
<a href="/{{ $repo }}/tree/{{ $ref }}/{{ $parent }}/{{ .Name }}">{{ .Name }}/</a>
{{ else }}
- <a href="{{ $repo }}/tree/{{ $ref }}/{{ .Name }}">{{ .Name }}/</a>
+ <a href="/{{ $repo }}/tree/{{ $ref }}/{{ .Name }}">{{ .Name }}/</a>
{{ end }}
</td>
</tr>