% posts.forEach(function(post){ %><%- include('post-card', { post: post }) %><% }); %>
<%# Grid view: OOB-append the same posts as tiles. htmx inserts the wrapper node
itself (beforeend), so display:contents lets the tiles lay out as direct grid
items instead of nesting under an extra box. %>
<% posts.forEach(function(post){ %><%- include('post-tile', { post: post }) %><% }); %>
<%# Lezen: dezelfde berichten OOB achteraan de leesstroom, net als de tegels
hierboven. Zonder dit zou "meer laden" in de leesweergave niets doen. %>
<% if (typeof readerItems !== 'undefined' && readerItems && readerItems.length) { %><% readerItems.forEach(function(it){ %><%- include('read-article', { post: it.post, entry: it.entry }) %><% }); %>
<% } %>
<%- include('load-more', { hasMore: hasMore, nextOffset: nextOffset, moreBase: moreBase, moreTarget: '#post-list', morePath: (typeof morePath !== 'undefined' ? morePath : '/'), oob: true }) %>