Search
<% if (previousArticle || nextArticle) { %>
<% } %>
<% 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;
} %>
<% 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 (previousArticle) { %>
<% if (previousTitle) { %>
<% } %>
<% if (nextArticle) { %>
<%= previousTitle %>
<% } %> <%= previousArticle.title %>
<% if (nextTitle) { %>
<% } %>
<%= nextTitle %>
<% } %> <%= nextArticle.title %>-
<% blocks.forEach(function(block, index) { %>
-
<% if (imageHeight) { %>
<% } %>
<% if (block.name) { %>
<%= block.name %>
<% } %> <% if (block.description) { %><%= block.description %>
<% } %>
<% }) %>
-
<% (categories.length > 1 ? categories : sections).forEach(function(block, index) { %>
-
<% if (imageHeight) { %>
<% } %>
<% if (block.name) { %>
<%= block.name %>
<% } %> <% if (block.description) { %><%= block.description %>
<% } %>
<% }) %>