<% if (images && images.length) { %> <% _.each(images, function(image) { %>
<% _.each(image.sources || [], function(source) { %> <% if (source.srcset !== image.src) { %> <% } %> <% }); %> <%- image.alt %>
<% }); %> <% } %>
<% if (use_thumb && images && images.length) { %>
<% _.each(images, function(image) { %>
<% _.each(image.thumbSources || [], function(source) { %> <% }); %> <%- image.alt %>
<% }); %>
<% } %>