aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_index.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo_index.html.tmpl')
-rw-r--r--templates/repo_index.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl
index c3b4759..2f41aac 100644
--- a/templates/repo_index.html.tmpl
+++ b/templates/repo_index.html.tmpl
@@ -42,7 +42,7 @@
{{- range .files }}
<tr>
<td class="file-mode">{{ .Mode }}</td>
- <td class="file-name"><a href="tree/{{ $ref }}/{{ .Name }}">{{ .Name }}</a>{{ if not .Is_file }}/{{ end }}</td>
+ <td class="file-name"><a href="tree/{{ .Name }}">{{ .Name }}</a>{{ if not .Is_file }}/{{ end }}</td>
<td class="file-size">{{ .Size }}</td>
</tr>
{{- end }}