From d5416d850c9b697bc8fb189841e1c1e622494f5e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 15 Feb 2025 00:32:39 +0800 Subject: templates: *.html.tmpl -> *.tmpl --- templates/repo_tree_file.tmpl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 templates/repo_tree_file.tmpl (limited to 'templates/repo_tree_file.tmpl') diff --git a/templates/repo_tree_file.tmpl b/templates/repo_tree_file.tmpl new file mode 100644 index 0000000..7d5069c --- /dev/null +++ b/templates/repo_tree_file.tmpl @@ -0,0 +1,22 @@ +{{- define "repo_tree_file" -}} + + + + {{ template "head_common" . }} + + {{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }} – {{ .global.forge_title }} + + + {{ template "header" . }} +
+

+ /{{ .path_spec }} (raw) +

+ {{ .file_contents }} +
+ + + +{{- end -}} -- cgit v1.2.3