aboutsummaryrefslogtreecommitdiff
path: root/templates/repo.html
diff options
context:
space:
mode:
authorAnirudh Oppiliappan <x@icyphox.sh>2022-12-12 21:33:09 +0530
committerAnirudh Oppiliappan <x@icyphox.sh>2022-12-12 21:33:09 +0530
commit01f27147baf80e2222927ddca9369c7d99b4ff3c (patch)
treeffd8f1431f83ae4f1b390c907ee45c377c84f436 /templates/repo.html
parentroutes: render readme (diff)
downloadlegitrx-01f27147baf80e2222927ddca9369c7d99b4ff3c.tar.gz
legitrx-01f27147baf80e2222927ddca9369c7d99b4ff3c.tar.zst
legitrx-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>