diff options
Diffstat (limited to 'templates/commit.html')
-rw-r--r-- | templates/commit.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/commit.html b/templates/commit.html index e6af551..f7a36b4 100644 --- a/templates/commit.html +++ b/templates/commit.html @@ -10,7 +10,7 @@ {{ template "nav" . }} <main> <section> - <p>author: {{ .commit.Author.Name }} <{{ .commit.Author.Email}}> on {{ .commit.Author.When }}</p> + <p>author: {{ .commit.Author.Name }} <{{ .commit.Author.Email}}> on {{ .commit.Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</p> <p>commit: <a href="/{{ .name }}/commit/{{ .commit.This }}"> {{ .commit.This }} </a> @@ -41,6 +41,9 @@ {{- if eq .Op.String "-" -}} <span style="color: red">{{ .String }}</span> {{- end -}} + {{- if eq .Op.String " " -}} + <span style="color: gray">{{ .String }}</span> + {{- end -}} {{- end -}} {{- end -}} </pre> |