<%= date(articleObject.date, is_post() ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD') %>
<% if (articleObject.categories.length) { %>
<% articleObject.categories.forEach((category, i) => { %>
-
<%= i === 0 ? '' : '> ' %><%= category.name %>
<% }); %>
<% } %>
<% if (articleObject.tags.length) { %>
<% articleObject.tags.forEach((tag, i) => { %>
-
<%= i === 0 ? '' : '| ' %><%= tag.name %>
<% }); %>
<% } %>
<%
let temp_wordcount_count, temp_min2read_count = null;
try {
temp_wordcount_count = wordcount(page.content);
temp_min2read_count = min2read(page.content);
} catch (e) {
temp_wordcount_count = 0;
temp_min2read_count = 0;
}
%>
<% if(is_post() && theme.post_wordcount.enable && theme.post_wordcount.wordcount && temp_wordcount_count){ %>
<%= temp_wordcount_count %> <%- __('wordcount') %>
<% } %>
<% if(is_post() && theme.post_wordcount.enable && theme.post_wordcount.min2read && temp_min2read_count){ %>
<%= temp_min2read_count %> <%- __('min2read') %>
<% } %>
<% if (is_post() && theme.website_count.busuanzi_count.enable && theme.website_count.busuanzi_count.page_pv) { %>
<% } %>