<% var getColumnClasses = function(columnNumber) {
var classNames = 'col-12';
if (columnNumber >= 2) classNames += ' md:col-6';
if (columnNumber >= 3) classNames += ' lg:col-4';
if (columnNumber >= 4) classNames += ' xl:col-3';
return classNames;
} %>
<% if (articles.length) { %>
<% articles.forEach(function(article, index) { %>
<% var section = sections.filter(function(section) { return section.id === article['section_id']; })[0] || null; %>
<% }) %>
<% } %>