use time tag in log

This commit is contained in:
Iris Lightshard 2023-02-02 09:32:31 -07:00
parent cd131c0629
commit dde087ea2d
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398
3 changed files with 3 additions and 3 deletions

View file

@ -260,7 +260,7 @@ a:hover {
font-size: 0.85rem; font-size: 0.85rem;
} }
.commit time { .commit time, .log time {
display: block; display: block;
} }

View file

@ -19,7 +19,7 @@
</div> </div>
<div class="commit-info"> <div class="commit-info">
{{ .Author.Name }} <a href="mailto:{{ .Author.Email }}" class="commit-email">{{ .Author.Email }}</a> {{ .Author.Name }} <a href="mailto:{{ .Author.Email }}" class="commit-email">{{ .Author.Email }}</a>
<div>{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div> <time>{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</time>
</div> </div>
{{ end }} {{ end }}
</div> </div>

View file

@ -21,7 +21,7 @@
</div> </div>
<div class="commit-info"> <div class="commit-info">
{{ .Author.Name }} <a href="mailto:{{ .Author.Email }}" class="commit-email">{{ .Author.Email }}</a> {{ .Author.Name }} <a href="mailto:{{ .Author.Email }}" class="commit-email">{{ .Author.Email }}</a>
<div>{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div> <time>{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</time>
</div> </div>
{{ end }} {{ end }}
</div> </div>