<%= date(post.date, 'YYYY-MM-DD') %>
<% if (theme.magic.enable === true) { %>
<% if (theme.home_article.category.enable === true) { %>
<% post.categories.forEach((category, i) => {
if (theme.home_article.category.limit === 0 || i + 1 <= theme.home_article.category.limit) { %>
-
<%= i === 0 ? '' : '> ' %><%= category.name %>
<% } %>
<% }); %>
<% } %>
<% if (theme.home_article.tag.enable === true) { %>
<% post.tags.forEach((tag, i) => {
if (theme.home_article.tag.limit === 0 || i + 1 <= theme.home_article.tag.limit) { %>
-
<%= i === 0 ? '' : '| ' %><%= tag.name %>
<% }}); %>
<% } %>
<% } %>
<% if (theme.magic.enable === false) { %>