<% const pages = this.sheets.map((v,i) => i % 2 ? false : this.sheets.slice(i, i + 2)).filter(Boolean); %>
<% for (const [index, page] of pages.entries()) { %>
<% for (const sheet of page) { %> <% } %>
<% } %>
/ <% sheets.length %>