<% if (item.tags && item.tags.length){ %>
<%- partial('article-tags', {item: item}) %>
<% } else if (item.categories && item.categories.length) { %>
<%- partial('article-categories', {item: item}) %>
<% } %>
<% if (item.date){ %>
<%- item.date.format(config.date_format || theme.date_format) %>
<% } %>