<% if (!posts.length) { %>
<%= t('ptype.empty') %>
<% } else { %>
<% posts.forEach(function(p) { %>
-
<% if (p.cover_image_url) { %>
<% } %>
<%= p.author_username %><% if (p.published_at) { %> · <%= formatDate(p.published_at) %><% } %>
<% if (p.excerpt) { %>
<%= p.excerpt %>
<% } %>
<% }); %>
<% } %>