summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/log.html6
-rw-r--r--templates/repo.html7
2 files changed, 9 insertions, 4 deletions
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 }}
<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>
</main>
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 -}}