<% var thumbnail %> <% if(thumbnail == undefined) thumbnail = post.thumbnail_image %> <% if(size == 6) thumbnail = post.cover_image %> <% if(size == 12) thumbnail = post.hero_image %>
<% if(show_title == true || show_title == undefined) { %>

<%= post.title %>

<% } %>