From a20fc6ee101bcf2a626c4b538f1820ca11022d4a Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 09:33:37 +0800 Subject: repo_index: Add anchors to filenames in the tree listing --- templates/repo_index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates/repo_index.html') 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 @@ +{{- $ref := .ref }} {{- range .files }} {{ .Mode }} -{{ .Name }} +{{ .Name }} {{ .Size }} {{- end }} -- cgit v1.2.3