From c37d627b529fc8d03328fc77efc57b19ecd0e8f0 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 6 Mar 2025 22:30:57 +0800 Subject: *: Add column headers to tables --- templates/repo_tree_dir.tmpl | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) (limited to 'templates/repo_tree_dir.tmpl') diff --git a/templates/repo_tree_dir.tmpl b/templates/repo_tree_dir.tmpl index ab9788b..a62139c 100644 --- a/templates/repo_tree_dir.tmpl +++ b/templates/repo_tree_dir.tmpl @@ -18,6 +18,11 @@ /{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }}{{ if .ref_name }} on {{ .ref_name }}{{ end }} + + Mode + Filename + Size + @@ -38,24 +43,11 @@
-
- {{ if .readme }} - - - - - - - - - - - -
{{ .readme_filename }}
- {{ .readme -}} -
- {{ end }} + {{ if .readme }} +
+ {{ .readme -}}
+ {{ end }} -- cgit v1.2.3