From a3a9719af3d648c90b049e94d7d446651d0d011b Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 20:53:27 +0800 Subject: repo_tree: Fix URL and anchor issues --- templates/repo_tree_dir.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/repo_tree_dir.html') diff --git a/templates/repo_tree_dir.html b/templates/repo_tree_dir.html index cb5b264..207fcaa 100644 --- a/templates/repo_tree_dir.html +++ b/templates/repo_tree_dir.html @@ -3,7 +3,7 @@ {{ template "head_common" . }} - {{ .category_name }}/repos/{{ .repo_name }}/{{ .path_spec }} – Lindenii Forge + {{ .category_name }}/repos/{{ .repo_name }}/{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} – Lindenii Forge
@@ -11,7 +11,7 @@ - /{{ .path_spec }}/ on {{ .ref }} + /{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} on {{ .ref }} @@ -25,7 +25,7 @@ {{- range .files }} {{ .Mode }} - {{ .Name }}{{ if not .Is_file }}/{{ end }} + {{ .Name }}{{ if not .Is_file }}/{{ end }} {{ .Size }} {{- end }} -- cgit v1.2.3