From 311befc9ba95b2d2f7db7a5efa2f912a5fa85879 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 22:05:53 +0800 Subject: *.html.tmpl: Rename from *.html --- templates/repo_tree_dir.html.tmpl | 64 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 templates/repo_tree_dir.html.tmpl (limited to 'templates/repo_tree_dir.html.tmpl') diff --git a/templates/repo_tree_dir.html.tmpl b/templates/repo_tree_dir.html.tmpl new file mode 100644 index 0000000..aa29542 --- /dev/null +++ b/templates/repo_tree_dir.html.tmpl @@ -0,0 +1,64 @@ +{{- define "repo_tree_dir" -}} + + + + {{ template "head_common" . }} + {{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} – Lindenii Forge + + +
+ + + + + + + + + + + + + {{- $path_spec := .path_spec }} + {{- range .files }} + + + + + + {{- end }} + +
+ /{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} on {{ .ref }} +
ModeNameSize
{{ .Mode }}{{ .Name }}{{ if not .Is_file }}/{{ end }}{{ .Size }}
+
+
+
+
+
+
+ {{ if .readme }} + + + + + + + + + + + +
+ README.md +
+ {{ .readme -}} +
+ {{ end }} +
+ + + +{{- end -}} -- cgit v1.2.3