summaryrefslogtreecommitdiffstats
path: root/templates/log.html
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-17 22:35:48 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-17 22:35:48 +0530
commit3e6a720154b70a9882af14399548e494b1d0089f (patch)
tree6926af0c380ce3eb303af05d664a78962083d546 /templates/log.html
parent5091695e75b2db30b8926d8aa17164c84031bc77 (diff)
downloadlegit-3e6a720154b70a9882af14399548e494b1d0089f.tar.gz
legit-3e6a720154b70a9882af14399548e494b1d0089f.tar.bz2
legit-3e6a720154b70a9882af14399548e494b1d0089f.zip
git, templates: diff view
Diffstat (limited to '')
-rw-r--r--templates/log.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/log.html b/templates/log.html
index c4ee9c3..4a0292c 100644
--- a/templates/log.html
+++ b/templates/log.html
@@ -9,7 +9,7 @@
<body>
{{ template "nav" . }}
<main>
- {{ $repo := .repo }}
+ {{ $repo := .name }}
<div class="log">
{{ range .commits }}
<div>
@@ -17,7 +17,7 @@
<div>{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div>
<pre>{{ .Message }}</pre>
</div>
- <div class="commit-info">{{ .Author.Name }} <span style="color: var(--gray);">{{ .Author.Email }}</span></div>
+ <div class="commit-info">{{ .Author.Name }} <span class="commit-email">{{ .Author.Email }}</span></div>
{{ end }}
</div>
</main>