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