<% if (item.photos){ %>
<%- partial('post/gallery') %>
<% } %>
<%- partial('post/title') %>
<% if (item.layout != 'page'){ %><%- partial('post/date') %><% } %>
<% if (item.excerpt && index){ %>
<%- item.excerpt %>
<% } else { %>
<%- item.content %>
<% } %>
<% if (item.layout != 'page'){ %>
<% } %>
<%- partial('comment') %>