diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-18 12:18:43 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-18 12:19:48 +0530 |
commit | 2e3c3103c48c748ccc8fa6b3607d51f112a9400f (patch) | |
tree | 702e5e000389e75e111ebb8789ce51d128a2c247 /templates/repo.html | |
parent | 8f8f205ce5c806d0753b76de1dc0e2e135578437 (diff) | |
download | legit-2e3c3103c48c748ccc8fa6b3607d51f112a9400f.tar.gz legit-2e3c3103c48c748ccc8fa6b3607d51f112a9400f.tar.bz2 legit-2e3c3103c48c748ccc8fa6b3607d51f112a9400f.zip |
log: cleaner view
Diffstat (limited to 'templates/repo.html')
-rw-r--r-- | templates/repo.html | 7 |
1 files changed, 5 insertions, 2 deletions
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 }} <div> <div><a href="/{{ $repo }}/commit/{{ .Hash.String }}">{{ slice .Hash.String 0 8 }}</a></div> - <div>{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div> <pre>{{ .Message }}</pre> </div> - <div class="commit-info">{{ .Author.Name }} <span class="commit-email">{{ .Author.Email }}</span></div> + <div class="commit-info"> + {{ .Author.Name }} <span class="commit-email">{{ .Author.Email }}</span> + <div>{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div> + </div> {{ end }} </div> + <article class="readme"> <pre> {{- if .readme }}{{ .readme }}{{- end -}} |