From 5699c497a45e08e9e502974e8055d1291dde29dd Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 7 Mar 2025 21:18:28 +0800 Subject: http/templates: Reduce whitespace --- templates/repo_tree_file.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/repo_tree_file.tmpl') diff --git a/templates/repo_tree_file.tmpl b/templates/repo_tree_file.tmpl index 333e1dc..b0ce0f1 100644 --- a/templates/repo_tree_file.tmpl +++ b/templates/repo_tree_file.tmpl @@ -6,20 +6,20 @@ - {{ template "head_common" . }} + {{- template "head_common" . -}} - /{{ .path_spec }} – {{ .repo_name }} – {{ template "group_path_plain" .group_path }} – {{ .global.forge_title }} + /{{ .path_spec }} – {{ .repo_name }} – {{ template "group_path_plain" .group_path }} – {{ .global.forge_title -}} - {{ template "header" . }} + {{- template "header" . -}}

/{{ .path_spec }} (raw)

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