Skip to main content
Submit a request
Sign in
Navigation
Basic Setup
Customer Support
Updated
July 28, 2022 00:16
Was this article helpful?
Yes
No
Home
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<% if (category.sections.length) { %> <%= partial('article-list-sections', { id: 'category-' + category.id, parentId: '#category-list', sections: category.sections, activeCategoryId: activeArticleId, activeSectionId: activeArticleId, activeArticleId: activeArticleId, partial: partial }) %> <% } %>
<% }); %>
<% if (sections.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<% if (section.sections.length) { %> <%= partial('article-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeArticleId, activeSectionId: activeArticleId, activeArticleId: activeArticleId, partial: partial }) %> <% } %> <% if (section.articles.length) { %>
<% section.articles.forEach(function(article) { %>
<%= article.title %>
<% }); %>
<% } %>
<% }); %>
<% } %>