<% // Add an og-image using the first image's thumbnail if (items?.[0]?.thumbnailUrl) { %> <% } %>
<% // Load the first 50 thumbnails, then load more as the user scrolls. See web.js items.slice(0, 50).forEach(item => { if (item.video) { %> data-sub-html='

<%= item.description %>

' <% } %> <% if (item.downloadUrl) { %> data-download-url="<%- item.downloadUrl %>" <% } %> >
<% } else { %> data-sub-html='

<%= item.description %>

' <% } %> <% if (item.downloadUrl) { %> data-download-url="<%- item.downloadUrl %>" <% } %> >
<% } }) %>