summaryrefslogtreecommitdiff
path: root/src/http/tpl/post.html
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2024-05-18 16:45:28 +0200
committerBrian Picciano <mediocregopher@gmail.com>2024-05-18 16:45:28 +0200
commitffa26298c95451639a6e01db6692d02d50b3d518 (patch)
tree346c5aef72e60a3c2b47e9713aea7c723c116bc1 /src/http/tpl/post.html
parent93a8843e2e3391459fd333aef9e5c7617608c2b3 (diff)
Remove most custom template functions from html templating
Diffstat (limited to 'src/http/tpl/post.html')
-rw-r--r--src/http/tpl/post.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/tpl/post.html b/src/http/tpl/post.html
index 0cf3622..46a24fc 100644
--- a/src/http/tpl/post.html
+++ b/src/http/tpl/post.html
@@ -16,7 +16,7 @@
{{ .PostHTMLBody $post }}
<p><em>
- Published {{ DateTimeFormat $post.PublishedAt }}
+ Published {{ $post.PublishedAt.Format "2006-01-02" }}
</em></p>
{{- if $post.Series }}