% const NUMBER_COLUMNS_TO_DISPLAY = 6 %>
<% for ( const packageName in contributors ) { %>
<% const packageContributors = contributors[packageName].contributors %>
<% if (packageContributors) { %>
<% if (packageContributors.length) { %>
<%- include('contributor', { contributor: contributor }) %>
<% } else { %>
<%- include('contributor', { contributor: contributor }) %>
<% } %>
<% if ( contributor.login === lastContributor.login && packageContributors.length % NUMBER_COLUMNS_TO_DISPLAY !== 0 ) { %>
<% const columnsToAdd = NUMBER_COLUMNS_TO_DISPLAY - ( packageContributors.length % NUMBER_COLUMNS_TO_DISPLAY ) %>
<% for ( let i = 0; i < columnsToAdd; i++ ) { %>
<% } %>
<% } %>
<% column ++ %>
<% if ( ( column % NUMBER_COLUMNS_TO_DISPLAY === 1 ) || contributor.login === lastContributor.login ) { %>
<% } %>
<% } %>
<% } %>
<% } %>