From 27aba963de59594bfdc51203a18c673340595e9e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 30 Mar 2025 00:20:07 +0800 Subject: Remove tree from repo index page --- templates/repo_index.tmpl | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl index cd0e4fe..cf42786 100644 --- a/templates/repo_index.tmpl +++ b/templates/repo_index.tmpl @@ -89,33 +89,6 @@ {{- end -}} - {{- if .files -}} -
- - - - - - - - - - - - - {{- $ref_type := .ref_type -}} - {{- $ref := .ref_name -}} - {{- range .files -}} - - - - - - {{- end -}} - -
/{{- if .ref_name }} on {{ .ref_name -}}{{- end -}}
ModeFilenameSize
{{- .Mode -}}{{- .Name -}}{{- if not .IsFile -}}/{{- end -}}{{- .Size -}}
-
- {{- end -}} {{- if .readme -}}
{{- .readme -}} -- cgit v1.2.3