aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_index.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-21 22:16:56 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-21 22:16:56 +0800
commitb4abfcdcf3acda34ec8f059514fc07554bde36bb (patch)
treeae28d05c0b318d6d5dc88d60a1f4c64bd174b162 /templates/repo_index.tmpl
parentFix spacing in branchspec on repo indexes (diff)
downloadforge-b4abfcdcf3acda34ec8f059514fc07554bde36bb.tar.gz
forge-b4abfcdcf3acda34ec8f059514fc07554bde36bb.tar.zst
forge-b4abfcdcf3acda34ec8f059514fc07554bde36bb.zip
Fix Is_file -> IsFile naming
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 -}}