Skip to main content
HELP CENTER
Toggle navigation menu
Back to website
Sign in
Looking for answers?
Search
HELP CENTER
AMPERKS
AMPERKS
AmPerks FAQs for Customers
AmPerks Terms and Conditions
For Example:
,
<% var getColumnClasses = function(numberColumns) { var classNames = 'col-12'; if (numberColumns >= 2) classNames += ' md:col-6'; if (numberColumns >= 3) classNames += ' lg:col-4'; if (numberColumns >= 4) classNames += ' xl:col-3'; return classNames; } %>
<% if (heading) { %>
<%= heading %>
<% } %>
<% (categories.length > 1 ? categories : sections).forEach(function(block, index) { %>
<% if (imageHeight) { %>
<% } %> <% if (index === 4 || index === 5) { %>
<% } else { %>
<% } %> <% if (!block.description) { %>
<%= block.name %>
<% } else { %> <%= block.name %> <% } %>
<% if (block.description) { %>
<%= block.description %>
<% } %>
<% }) %>
Not Finding the answer?
Contact our friendly
Customer Service!
CONTACT US
Categories
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-article-list-sections', { id: 'category-' + category.id, parentId: '#sidebar-article-navigation', sections: category.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %>
<% }); %>
<% var maxSections = 5 %>
Toggle navigation menu
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-section-list-sections', { parent: category, sections: category.sections, maxSections: maxSections, partial: partial }) %>
<% }); %>
<% if (categories.length) { %>
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 %>
<% }); %>
<% } %>
<% }); %>
<% } %>
<% if (sections.length) { %>
<% sections.slice(0, maxSections).forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { parent: section, sections: section.sections, maxSections: maxSections, partial: partial }) %>
<% }); %> <% if (sections.length > maxSections) { %>
See more
<% } %>
<% } %>