diff --git a/themes/grid/layout/partial/post/list.ejs b/themes/grid/layout/partial/post/list.ejs
index 310ef0d..8c538c3 100644
--- a/themes/grid/layout/partial/post/list.ejs
+++ b/themes/grid/layout/partial/post/list.ejs
@@ -8,8 +8,8 @@
发布:<%= date(post.date, "YYYY-MM-DD HH:mm") %>
- <% let updateValid = typeof(post.update) == 'string' %>
-
更新:<%= date(updateValid ? post.update : post.date, "YYYY-MM-DD HH:mm") %>
+ <% const updateValid = post.updated.isValid() %>
+
更新:<%= date(updateValid ? post.updated : post.date, "YYYY-MM-DD HH:mm") %>
<% if (post.categories.length> 0) { %>
知识分类:
<%- list_categories(post.categories, {
diff --git a/themes/grid/layout/post.ejs b/themes/grid/layout/post.ejs
index 4f4565d..67f1cdb 100644
--- a/themes/grid/layout/post.ejs
+++ b/themes/grid/layout/post.ejs
@@ -9,8 +9,9 @@
-
最后更新:<%= date(page.date, "YYYY-MM-DD HH:mm" ) %>
-
+
发布时间:<%= date(page.date, "YYYY-MM-DD HH:mm" ) %>
+ <% const validUpdate = page.updated.isValid() %>
+
最后更新:<%= date(validUpdate ? page.updated : page.date, "YYYY-MM-DD HH:mm") %>
<% if (page.categories.length> 0) { %>
知识分类:
<%- list_categories(page.categories, {