<% if (page.posts.length > 0) { %>
<% page.posts.each(function (post) { %>
<%=post.title%>
<% if (post.excerpt) { %> <%- post.excerpt %> <% } else if (post.description) { %> <%- strip_html(post.description) %> <% } else if (theme.auto_excerpt.enable && post.auto_excerpt) { %> <%- strip_html(truncate(post.content, {length: theme.auto_excerpt.length})) %> <% } else { %> <%- post.content %> <% } %>
<% if(post.excerpt || post.descripttion || (theme.auto_excerpt.enable && post.auto_excerpt)) { %> <% } %>
<% }) %>
<% } %>