diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-05-20 10:13:46 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-05-20 10:13:46 -0600 |
commit | 75044eef0331bb9448da813288aafc6735ce7c22 (patch) | |
tree | a2fb34b0811cb524d87016e968255d2b6771d06d /srv/src/api/tpl/index.html | |
parent | 0bc0204f0b718464d7ea9d97d6d03ee81f1953c6 (diff) |
Implement edit post page
Diffstat (limited to 'srv/src/api/tpl/index.html')
-rw-r--r-- | srv/src/api/tpl/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/srv/src/api/tpl/index.html b/srv/src/api/tpl/index.html index 946a3e4..e27cbef 100644 --- a/srv/src/api/tpl/index.html +++ b/srv/src/api/tpl/index.html @@ -7,9 +7,9 @@ <h2> <a href="{{ PostURL .ID }}">{{ .Title }}</a> </h2> - <span>{{ .PublishedAt.Format "2006-01-02" }}</span> + <span>{{ DateTimeFormat .PublishedAt }}</span> {{ if not .LastUpdatedAt.IsZero }} - <span>(Updated {{ .LastUpdatedAt.Format "2006-01-02" }})</span> + <span>(Updated {{ DateTimeFormat .LastUpdatedAt }})</span> {{ end }} <p>{{ .Description }}</p> </li> |