<% if (post.link){ %> <% } else if (post.title){ %> <% if (index){ %> <% } else { %> <% } %> <% } %>