diff --git a/static/style.css b/static/style.css index 1a36ec7..7ae9fc3 100644 --- a/static/style.css +++ b/static/style.css @@ -172,6 +172,10 @@ a:hover { content: '>'; } +.commit { + margin-bottom: 1rem; +} + .commit pre { padding-bottom: 1rem; white-space: pre-wrap; @@ -224,6 +228,11 @@ a:hover { gap: 1rem; } +.commit-info { + color: var(--gray); + font-size: 14px; +} + @media (max-width: 600px) { .index { grid-row-gap: 0.8em; diff --git a/templates/log.html b/templates/log.html index bc028b3..4e592b6 100644 --- a/templates/log.html +++ b/templates/log.html @@ -15,10 +15,12 @@ {{ range .commits }}
{{ slice .Hash.String 0 8 }}
-
{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
{{ .Message }}
-
{{ .Author.Name }} {{ .Author.Email }}
+
+ {{ .Author.Name }} {{ .Author.Email }} +
{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
+
{{ end }} diff --git a/templates/repo.html b/templates/repo.html index 2e87b07..687cafe 100644 --- a/templates/repo.html +++ b/templates/repo.html @@ -17,12 +17,15 @@ {{ range .commits }}
{{ slice .Hash.String 0 8 }}
-
{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
{{ .Message }}
-
{{ .Author.Name }} {{ .Author.Email }}
+
+ {{ .Author.Name }} {{ .Author.Email }} +
{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
+
{{ end }} +
           {{- if .readme }}{{ .readme }}{{- end -}}