Skip to main content
Help Center
Toggle navigation menu
Go to Workiz
Sign in
Workiz
Troubleshooting
Troubleshooting
Basics
<% 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; } %>
Browse by topic
<% (categories.length > 1 ? categories : sections).forEach(function(block, index) { %>
<% if (imageHeight) { %> <% var imageSrc = Theme.assets['category-' + (index + 1)]; if (!imageSrc) imageSrc = images.length > index ? images[index] : images[images.length - 1]; %>
<% } %> <% if (block.name) { %>
<%= block.name %>
<% } %> <% if (block.description) { %>
<%= block.description %>
<% } %>
<% }) %>
<% 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) { %>
<%= article.title %> <% if (article.promoted) { %>
Promoted article
<% } %>
<% if (index < articles.length - 1) { %>
<% } %>
<% }) %>
<% } %>
<% if (children.length) { %>
<% children.forEach(function(child, index) { %> <% var isActive = initial === index %>
<%= child.title %>
<%= child.innerHTML %>
<% }) %>
<% } %>