Skip to main content
Polywork
Toggle navigation menu
Submit a request
Polywork Help Center
Submit a request
Submit a request
Please choose what would you like to contact Polywork support for:
-
Building your website: blocks and appearance
Premium subscription: billing, invoices
Custom Domain issues/question
I have a question
Bug report: something is not working!
Feature request: what would you like to see on Polywork?
Report community guidelines violation
I want to delete my account
Other
<% 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) { %>
<%= article.title %> <% if (article.promoted) { %>
Promoted article
<% } %>
<% }) %>
<% } %>
<% if (previousArticle || nextArticle) { %>
<% if (previousArticle) { %>
<%= previousArticle.title %>
<% } %> <% if (nextArticle) { %>
<%= nextArticle.title %>
<% } %>
<% } %>