...
<% var featuredArticles = articles.filter(function(article) {
return article['label_names'].some(function(label) {
return labels.includes(label);
})
}) %>
<% if (featuredArticles.length) { %>
<% if (heading) { %>
<%= heading %>
<% } %>-
<% featuredArticles.forEach(function(article) { %>
-
<%= article.title %>
<%= Util.getExcerpt(article.body || '', excerptLength) %>
<% }) %>
Can't find what you're looking for?
Contact Product Support<%= heading %>
<% } %>-
<% featuredArticles.forEach(function(article) { %>
-
<%= article.title %>
<%= Util.getExcerpt(article.body || '', excerptLength) %>
<% }) %>
-
<% (categories.length > 1 ? categories : sections).forEach(function(block, index) { %>
-
<% if (imageHeight) { %>
<% } %> <% if (block.name) { %>
<%= block.name %>
<% } %> <% if (block.description) { %><%= block.description %>
<% } %>
<% }) %>