<% var maxSections = 5 %>
Toggle navigation menu
<% categories.forEach(function(category, index) { %>
<% if (category.id === activeCategoryId) { %>
<%= partial('partial-article-list-sections', {
id: 'category-' + category.id,
parent: category,
sections: category.sections,
activeCategoryId: activeCategoryId,
activeSectionId: activeSectionId,
activeArticleId: activeArticleId,
maxSections: maxSections,
partial: partial
}) %>
<% } %>
<% }) %>
Comments
1 comment
There is a playlist of a bunch of How-To demos on the AtScale site here https://www.atscale.com/resources/type/demo/ that are handy.
Please sign in to leave a comment.