diff options
Diffstat (limited to '')
-rw-r--r-- | templates/repo_index.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/repo_index.html b/templates/repo_index.html index 866a020..cf1326f 100644 --- a/templates/repo_index.html +++ b/templates/repo_index.html @@ -42,10 +42,11 @@ </tr> </thead> <tbody> +{{- $ref := .ref }} {{- range .files }} <tr> <td class="file-mode">{{ .Mode }}</td> -<td class="file-name">{{ .Name }}</td> +<td class="file-name"><a href="tree/{{ $ref }}/{{ .Name }}">{{ .Name }}</a></td> <td class="file-size">{{ .Size }}</td> </tr> {{- end }} |