Skip to main content
Toggle navigation menu
Community
Sign in
Search
Community Topics
Show topics
Show all posts
Feature Requests
1 post
1 follower
General Discussion
4 posts
1 follower
Featured posts
Feature a post
Didn't find what you were looking for?
New post
Categories
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-article-list-sections', { id: 'category-' + category.id, parentId: '#sidebar-navigation', sections: category.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %>
<% }); %>
<% var maxSections = 12 %>
Toggle navigation menu
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-section-list-sections', { parent: category, sections: category.sections, maxSections: maxSections, partial: partial }) %>
<% }); %>
Categories
Categories
<% categories.forEach(function(category) { %>
<%= category.name %> <% if (category.isActive) { %>
<% } %>
<% }); %>
<% if (sections.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-article-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.forEach(function(article) { %>
<%= article.title %>
<% }); %>
<% } %>
<% }); %>
<% } %>
<% if (sections.length) { %>
<% sections.slice(0, maxSections).forEach(function(section) { %>
<%= section.name %> <% if (section.isActive) { %>
<% } %>
<%= partial('partial-section-list-sections', { parent: section, sections: section.sections, maxSections: maxSections, partial: partial }) %>
<% }); %> <% if (sections.length > maxSections) { %>
See more
<% } %>
<% } %>
<% if (previousArticle || nextArticle) { %>
<% if (previousArticle) { %>
<% if (previousTitle) { %>
<%= previousTitle %>
<% } %>
<%= previousArticle.title %>
<% } %> <% if (nextArticle) { %>
<% if (nextTitle) { %>
<%= nextTitle %>
<% } %>
<%= nextArticle.title %>
<% } %>
<% } %>
<% var getColumnClasses = function(columnNumber) { var classNames = 'col-12'; if (columnNumber >= 2) classNames += ' md:col-6'; if (columnNumber >= 3) classNames += ' lg:col-4'; if (columnNumber >= 4) classNames += ' xl:col-3'; return classNames; } %> <% if (articles.length) { %>
<% articles.forEach(function(article, index) { %> <% var section = sections.filter(function(section) { return section.id === article['section_id']; })[0] || null; %>
<% if (section) { %>
<%= section.name %>
<% } %>
<%= article.title %>
<% }) %>
<% } %>
<% if (categories.length) { %>
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<% }) %>
<% } %>