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