<% if (categories.length) { %>
<% categories.forEach(function(category, index) { %>
<% if (category.id === activeCategoryId) { %>
<% category.sections.forEach(function(section) { %>
-
<% if (section.articles.length) { %>
<% section.articles.forEach(function(article) { %>
-
<%= article.title %>
<% }); %>
<% } %>
<% }); %>
<% } %>
<% }) %>
<% } %>