From 7386392b8cd08e73e4f5fa6080e8f4fcf20831f6 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 27 Jul 2024 08:00:00 +0800 Subject: Some more HTML sanities --- templates/log.html | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'templates/log.html') diff --git a/templates/log.html b/templates/log.html index 4312d66..f4d15c7 100644 --- a/templates/log.html +++ b/templates/log.html @@ -1,23 +1,22 @@ {{ define "log" }} -{{ template "head" . }} - - {{ template "repoheader" . }} + {{ template "head" . }} + {{ template "repoheader" . }} {{ template "nav" . }}
{{ $repo := .name }}
{{ range .commits }} -
-
{{ slice .Hash.String 0 8 }}
-
{{ .Message }}
-
-
- {{ .Author.Name }} {{ .Author.Email }} -
{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
-
+
+
{{ slice .Hash.String 0 8 }}
+
{{ .Message }}
+
+
+ {{ .Author.Name }} {{ .Author.Email }} +
{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
+
{{ end }}
-- cgit v1.2.3