<% if (articles.length) { %>
<% articles.forEach(function(article) { %>
<% }) %>
<% } else { %>
leer
<% } %>
<% var labels = "promoted".split(',').map(function(label) { return label.trim(); }).filter(function(label) { return label; }); %>
<% var articlesWithLabels = articles.filter(function(article) { return Util.intersection(article['label_names'], labels).length; }) %>
<% if (articlesWithLabels.length) { %>
<%= partial('article-list-partial-general', { articles: articlesWithLabels }) %>
<% } %>