<% keys.forEach(function(item){ %>

<%= item %>

<% data[item].map(function(post){ %> <%- (post.title || "Untitled").replace(/[<>&"]/g,function(c){ return {'<':'<','>':'>','&':'&','"':'"'}[c]; }) %> <% }) %> <% }) %>