summaryrefslogtreecommitdiff
path: root/layout/index.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/index.ejs
parent04ecc3472802ec02f943a63683d3e311bfc19613 (diff)
downloadchromate-0e5a3375fb10a8332d3f66bf3631b6e0861fb662.tar.gz
chromate-0e5a3375fb10a8332d3f66bf3631b6e0861fb662.tar.bz2
chromate-0e5a3375fb10a8332d3f66bf3631b6e0861fb662.zip
Add time format custom option
Diffstat (limited to 'layout/index.ejs')
-rw-r--r--layout/index.ejs2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/index.ejs b/layout/index.ejs
index 42f1a4f..64db0da 100644
--- a/layout/index.ejs
+++ b/layout/index.ejs
@@ -35,7 +35,7 @@
<div class="post-duration"><%- viewstr %></div>
<% } %>
<div class="post-time">
- <%- date(post.date, "MMM, D YYYY") %>
+ <%- date(post.date, theme.timeformat) %>
</div>
<% if (post.tags) { %>
<div class="post-tags">