diff options
Diffstat (limited to 'srv/src/api/tpl/post.html')
-rw-r--r-- | srv/src/api/tpl/post.html | 4 |
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 }} • {{ if not .Payload.LastUpdatedAt.IsZero }} - (Updated {{ .Payload.LastUpdatedAt.Format "2006-01-02" }}) + (Updated {{ DateTimeFormat .Payload.LastUpdatedAt }}) • {{ end }} <em>{{ .Payload.Description }}</em> |