<%= 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.hasOwnProperty('post') && theme.post.word_count.enable && theme.post.word_count.wordcount && temp_wordcount_count){ %>
<%= temp_wordcount_count %> <%- __('wordcount') %>
<% } %>
<% if(is_post() && theme.hasOwnProperty('post') && theme.post.word_count.enable && theme.post.word_count.min2read && temp_min2read_count){ %>
<%= temp_min2read_count %> <%- __('min2read') %>
<% } %>
<% if (is_post() && theme.website_count.busuanzi_count.enable && theme.website_count.busuanzi_count.page_pv) { %>
<% } %>