<% _.each(posts, function (post) { %>

<%= post.title %>

<%= post.author %>

<%= post.body %>

<% }); %> <% if (_.isEmpty(posts)) { %>

Empty

<% } %>