From 5091695e75b2db30b8926d8aa17164c84031bc77 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Sat, 17 Dec 2022 21:33:04 +0530 Subject: templates: repo and log --- templates/log.html | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'templates/log.html') diff --git a/templates/log.html b/templates/log.html index de7b200..c4ee9c3 100644 --- a/templates/log.html +++ b/templates/log.html @@ -9,13 +9,17 @@ {{ template "nav" . }}
- {{ $repo := .name }} - {{ range .commits }} -

{{ slice .Hash.String 0 8 }} - — {{ .Author.Name }} - {{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}

-

{{ .Message }}

- {{ end }} + {{ $repo := .repo }} +
+ {{ range .commits }} +
+
{{ slice .Hash.String 0 8 }}
+
{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
+
{{ .Message }}
+
+
{{ .Author.Name }} {{ .Author.Email }}
+ {{ end }} +
-- cgit