Skip to main content
Leopold
Toggle navigation menu
Back to website
Community
Submit a request
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
<% 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 (['white', 'gray-100', 'gray-200'].indexOf(color) !== -1) color = 'primary' %>
<% if (heading) { %>
<%= heading %>
<% } %>
<% blocks.forEach(function(block, index) { %>
<% if (imageHeight) { %>
<% } %>
<% if (block.name) { %>
<% if (block.html_url) { %>
<%= block.name %>
<% } else { %> <%= block.name %> <% } %>
<% } %> <% if (block.description) { %>
<%= block.description %>
<% } %>
<% }) %>