From 21c667435ab5394fe0dd86314c61256ea9b44711 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 14 Feb 2025 11:22:17 +0800 Subject: repo_index: Allow refspecs --- templates/repo_index.html.tmpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl index 7faea1e..80300d2 100644 --- a/templates/repo_index.html.tmpl +++ b/templates/repo_index.html.tmpl @@ -60,15 +60,16 @@ - + + {{- $ref_type := .ref_type }} {{- $ref := .ref_name }} {{- range .files }} - + {{- end }} -- cgit v1.2.3
{{ .Mode }}{{ .Name }}{{ if not .Is_file }}/{{ end }}{{ .Name }}{{ if not .Is_file }}/{{ end }} {{ .Size }}