Skip to main content
Toggle navigation menu
WELL platform
Forum
Resource library
Sign in
WELL Support
Intro to WELL
ESG strategy and reporting
ESG strategy and reporting
Discover how your organization can leverage WELL in its ESG reporting
<% var getColumnClasses = function(numberColumns, index) { var classNames = 'col-12'; if (numberColumns >= 2) { classNames += ' md:col-6'; if (index === 1 || index === 3) classNames += ' md:border-left'; if (index > 1) classNames += ' md:border-top'; } if (numberColumns === 3) { classNames += ' lg:col-4'; if (index === 2) classNames += ' lg:border-left lg:border-top-0'; if (index === 3) classNames += ' lg:border-top lg:border-left-0'; } if (numberColumns >= 4) { classNames += ' xl:col-3'; if (index > 0) classNames += ' xl:border-left xl:border-left-1 xl:border-top-0'; } return classNames; } %>
Helpful links
<% blocks.forEach(function(block, index) { %>
<% if (imageHeight) { %>
<% } %>
<% if (block.name) { %>
<%= block.name %>
<% } %> <% if (block.description) { %>
<%= block.description %>
<% } %>
<% }) %> <% if (blocks.length == 3) { %>
<% } %> <% if (blocks.length === 4 && numberColumns === 3) { %>
<% } %>
<% 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) { %> <% var section = sections.filter(function(section) { return section.id === article['section_id']; })[0] || null; %>
<% if (section) { %> <% } %>
<%= article.title %> <% if (article.promoted) { %>
Promoted article
<% } %>
<% }) %>
<% } %>
Categories
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-article-list-sections', { id: 'category-' + category.id, parentId: '#sidebar-navigation', sections: category.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %>
<% }); %>
<% 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 (previousArticle || nextArticle) { %>
<% if (previousArticle) { %>
<% if (previousTitle) { %>
<%= previousTitle %>
<% } %>
<%= previousArticle.title %>
<% } %> <% if (nextArticle) { %>
<% if (nextTitle) { %>
<%= nextTitle %>
<% } %>
<%= nextArticle.title %>
<% } %>
<% } %>
<% if (children.length) { %>
<% children.forEach(function(child, index) { %>
<%= child.title %>
<% }); %>
<% children.forEach(function(child, index) { %>
<%= child.innerHTML %>
<% }) %>
<% } %>
<% if (children.length) { %>
<% children.forEach(function(child, index) { %> <% var isActive = initial === index %>
<%= child.title %>
<%= child.innerHTML %>
<% }) %>
<% } %>