<%- moment(post.updated, Date.now()).locale(config.language).fromNow() %>
<% if (post.categories.length && 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 (post.tags.length && 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 %>
<% }}); %>
<% } %>