<% _.each(breadcrumbs, function(crumbs, index) { %> <% if (index === 1 ) { %>
<% } %> <% if (index > 0 && index +1 === breadcrumbs.length) { %>
<% } %> <% }); %>