summaryrefslogtreecommitdiff
path: root/layout/post.ejs
diff options
context:
space:
mode:
authorDoge <[email protected]>2021-05-08 01:44:29 +0800
committerDoge <[email protected]>2021-05-08 01:44:29 +0800
commit0e5a3375fb10a8332d3f66bf3631b6e0861fb662 (patch)
tree057c8583e9401ff4e06441cf13af961646f0881c /layout/post.ejs
parent04ecc3472802ec02f943a63683d3e311bfc19613 (diff)
downloadchromate-0e5a3375fb10a8332d3f66bf3631b6e0861fb662.tar.gz
chromate-0e5a3375fb10a8332d3f66bf3631b6e0861fb662.tar.bz2
chromate-0e5a3375fb10a8332d3f66bf3631b6e0861fb662.zip
Add time format custom option
Diffstat (limited to 'layout/post.ejs')
-rw-r--r--layout/post.ejs2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/post.ejs b/layout/post.ejs
index d83d694..e0eed90 100644
--- a/layout/post.ejs
+++ b/layout/post.ejs
@@ -26,7 +26,7 @@
<!-- Post title and content -->
<div class="post-meta">
<div class="post-time">
- <%- date(page.date, "MMM, D YYYY") %>
+ <%- date(page.date, theme.timeformat) %>
</div>
</div>
<h1 class="post-title"><%= page.title %></h1>