<% var maxSections = 5 %>
Ouvrir/Fermer le menu de navigation
<% 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
}) %>
<% } %>
<% }) %>