Skip to main content
Toggle navigation menu
Back to Syncari
Syncari Academy
Contact Support
Sign in
How can we help?
Search
<% if (previousArticle || nextArticle) { %>
<% if (previousArticle) { %>
Previous article
<%= previousArticle.title %>
<% } %> <% if (nextArticle) { %>
Next article
<%= nextArticle.title %>
<% } %>
<% } %>
<% let navTitle = "Sections"; const activeSection = sections.find((section) => section.isActive); if (activeSection?.name) { navTitle = activeSection?.name; const activeSubSection = activeSection.sections?.find((section) => section.isActive) if (activeSubSection?.name) { navTitle = activeSubSection?.name; } } %> <%= navTitle %>
<% var iconMap = { 'icon_prefix_360004565431': "/hc/theming_assets/01HZPHQEZNFJTPP9G2BN3648QA", 'icon_prefix_18834885420692': "/hc/theming_assets/01HZPHQEQ16KPCJVJTCVGPTMNX", 'icon_prefix_18834935506068': "/hc/theming_assets/01HZPHQEJYG36ZN2Z28709K1EP", 'icon_prefix_18845916825364': "/hc/theming_assets/01HZPHQE9W5ME84H3B57X8F2MB", 'icon_prefix_4408980709268': "/hc/theming_assets/01HZPHQEVG4K3H8ANDT0KFDCYN", 'icon_prefix_4417407631380': "/hc/theming_assets/01HZPHQE3PVGE1BA82FHWJQQB7", }; %> <% categories.forEach(function(category, index) { var iconKey = "icon_prefix_" + category.id; %>
<%= 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, level: 1, }) %>
<% }); %>
<% 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, level: level + 1, }) %> <% if (section.articles.length) { %>
<% section.articles.sort(Util.sortByPosition).forEach(function(article) { %>
<%= article.title %>
<% }); %>
<% } %>
<% }); %>
<% } %>