commit 5a357e288889ae12db48950a5798e5a90ffae897
parent 7170954e49a4dddd13474fe9231e32e483243cc3
Author: Nat Welch <nat@natwelch.com>
Date: Wed, 12 Jan 2022 01:40:02 +0000
Add post publish date
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html/thread.html b/html/thread.html
@@ -2,7 +2,7 @@
<h2>{{ .Data.Title }}</h2>
{{ range $index, $post := .Data.Posts }}
<div>
- <p><b>{{ $post.Author }}</b></p>
+ <p><b>{{ $post.Author }}</b> &emdash; {{ $post.Publish | formatDateTime }}</p>
{{ $post.Content }}
</div>
{{ end }}