home article date to article tag date

This commit is contained in:
lianglianglee 2023-09-12 16:28:41 +08:00
parent c3fcc10807
commit afee0b2ba5
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@
<div class="home-article-meta-info">
<span>
<i class="fas fa-history"></i>&nbsp;
<span class="home-article-date" data-updated="<%= post.updated %>">
<%= date(post.updated, 'YYYY-MM-DD') %>
<span class="home-article-date" data-updated="<%= post.date %>">
<%= date(post.date, 'YYYY-MM-DD') %>
</span>
</span>
<% if (post.categories.length && theme.home_article.category.enable === true) { %>