From c810b44273c40fdcf66524073ef0a2980c8a3517 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 12 Feb 2025 02:59:53 +0800 Subject: [PATCH] repo_tree_file: Don't treespec when it's head --- templates/repo_tree_file.html.tmpl | 2 +- diff --git a/templates/repo_tree_file.html.tmpl b/templates/repo_tree_file.html.tmpl index cf82c44506078b8bd06d0a1a70cb9a1922faae72..90ce5adb1ed78aca878e376a57d70b0a2905ec20 100644 --- a/templates/repo_tree_file.html.tmpl +++ b/templates/repo_tree_file.html.tmpl @@ -11,7 +11,7 @@
{{ template "repo_header" . }}

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

{{ .file_contents }}