From 8be70d1b7744aa120a0bd18552ec3cd09c972827 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 10:38:49 +0800 Subject: repo_index: Add / to directories in name listings --- templates/repo_index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/repo_index.html b/templates/repo_index.html index cf1326f..13ac023 100644 --- a/templates/repo_index.html +++ b/templates/repo_index.html @@ -46,7 +46,7 @@ {{- range .files }} {{ .Mode }} -{{ .Name }} +{{ .Name }}{{ if not .Is_file }}/{{ end }} {{ .Size }} {{- end }} -- cgit v1.2.3