<% for (const [index, side] of this.images.entries()) { %> <% if (side.image) { %> <% } %> <% } %>