From 091fdfad35c1386d5e6fabab9e569d7ab3ba893c Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 25 Mar 2025 11:35:30 +0800 Subject: [PATCH] Reindent HTML template --- templates/repo_commit.tmpl | 52 +++++++++++++++++++++++----------------------------- diff --git a/templates/repo_commit.tmpl b/templates/repo_commit.tmpl index 46f5478c0973ded30f039b32fd9a0d3871cafbc6..4265f391622c880a298458472a62a1b623491a12 100644 --- a/templates/repo_commit.tmpl +++ b/templates/repo_commit.tmpl @@ -12,35 +12,29 @@ {{- template "header" . -}}
-
-
-
Commit info
- -
ID
-
{{- .commit_id -}}
- -
Author
-
- {{- .commit_object.Author.Name -}} <{{- .commit_object.Author.Email -}}> -
- -
Author date
-
{{- .commit_object.Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}}
- -
Committer
-
- {{- .commit_object.Committer.Name -}} <{{- .commit_object.Committer.Email -}}> -
- -
Committer date
-
{{- .commit_object.Committer.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}}
- -
Actions
-
- Get patch -
-
-
+
+
+
Commit info
+
ID
+
{{- .commit_id -}}
+
Author
+
+ {{- .commit_object.Author.Name -}} <{{- .commit_object.Author.Email -}}> +
+
Author date
+
{{- .commit_object.Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}}
+
Committer
+
+ {{- .commit_object.Committer.Name -}} <{{- .commit_object.Committer.Email -}}> +
+
Committer date
+
{{- .commit_object.Committer.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}}
+
Actions
+
+ Get patch +
+
+
-- 2.48.1