<% var postContentUrl = '/data/posts/' + post.name %>
<% if (post.contentType == 'image') { %> <%= post.name %> <% } else if (post.contentType == 'youtube') { %> <% } else if (post.contentType == 'flash') { %> <% } else if (post.contentType == 'video') { %> <% } else { console.log(new Error('Unknown post type')) } %>