Skip to main content
Toggle navigation menu
My Hoxhunt
Sign in
Search
Learn more about Hoxhunt Respond
Email verification for automated email flows
Didn't find what you were looking for?
As a Hoxhunt user you have access to more content!
Sign in
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 }) %>
<% }); %>
Toggle navigation menu
<% categories = categories.filter(function(category) { return category.isActive; }); %> <% categories.forEach(function(category, index) { %>
<%= category.name %>
<% if (category.sections.length) { %>
<% category.sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { parent: section, sections: section.isActive ? section.sections : [], articles: section.isActive ? section.articles : [], partial: partial }) %>
<% }); %>
<% } %>
<% }); %>
Categories
Categories
<% categories.forEach(function(category) { %>
<%= category.name %>
<% }); %>
<% 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 %>
<% }); %>
<% } %>
<% }); %>
<% } %>
Toggle navigation menu
<% categories = categories.filter(function(category) { return category.isActive; }); %> <% categories.forEach(function(category, index) { %>
<%= category.name %>
<% if (category.sections.length) { %>
<% category.sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-sidebar-navigation', { parent: section, sections: section.isActive ? section.sections : [], articles: section.id === activeSectionId ? section.articles : [], activeSectionId: activeSectionId, partial: partial }) %>
<% }); %>
<% } %>
<% }); %>
<% if (sections.length || articles.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-sidebar-navigation', { parent: section, sections: section.isActive ? section.sections : [], articles: section.id === activeSectionId ? section.articles : [], activeSectionId: activeSectionId, partial: partial }) %>
<% }); %> <% articles.forEach(function(article) { %>
<%= article.title %>
<% }) %>
<% } %>
<% var activeCategory = categories.filter(function(category) { return category.isActive; })[0] || null %>
<%= activeCategory ? activeCategory.name : 'Categories' %>
<% categories.forEach(function(category) { %>
<%= category.name %>
<% }) %>