summaryrefslogtreecommitdiff
path: root/srv/src/api/tpl/post.html
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-20 10:13:46 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-20 10:13:46 -0600
commit75044eef0331bb9448da813288aafc6735ce7c22 (patch)
treea2fb34b0811cb524d87016e968255d2b6771d06d /srv/src/api/tpl/post.html
parent0bc0204f0b718464d7ea9d97d6d03ee81f1953c6 (diff)
Implement edit post page
Diffstat (limited to 'srv/src/api/tpl/post.html')
-rw-r--r--srv/src/api/tpl/post.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/srv/src/api/tpl/post.html b/srv/src/api/tpl/post.html
index fadab3c..474d7c2 100644
--- a/srv/src/api/tpl/post.html
+++ b/srv/src/api/tpl/post.html
@@ -5,10 +5,10 @@
{{ .Payload.Title }}
</h1>
<div class="light">
- {{ .Payload.PublishedAt.Format "2006-01-02" }}
+ {{ DateTimeFormat .Payload.PublishedAt }}
&nbsp;•&nbsp;
{{ if not .Payload.LastUpdatedAt.IsZero }}
- (Updated {{ .Payload.LastUpdatedAt.Format "2006-01-02" }})
+ (Updated {{ DateTimeFormat .Payload.LastUpdatedAt }})
&nbsp;•&nbsp;
{{ end }}
<em>{{ .Payload.Description }}</em>