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