Skip to main content
Toggle navigation menu
Create a ticket
Sign in
Search
How can we be of service?
Websites created for childcare and education
Search
Websites UK
Get started
Getting started with your new website
Getting started with your new website
Introduction
Terms we use within the websites
Lesson 1: Logging in to the CMS and explanation of the toolbar
Lesson 2: Building a page tree
Lesson 3: page templates
Lesson 4: Adding, editing, and deleting content
Lesson 5: Publishing and unpublishing
Lesson 6: Adjusting colors and fonts
Conclusion
Putting the website live
<% var getColumnClasses = function(columnNumber) { var classNames = numberColumns === 'auto' ? 'col-auto' : '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 getColorClasses = function(color, index) { if (color === 'white') { if (index % 3 === 0) return 'bg-tertiary text-tertiary-inverse hover:text-tertiary-inverse'; if (index % 3 === 1) return 'bg-primary text-primary-inverse hover:text-primary-inverse'; if (index % 3 === 2) return 'bg-secondary text-secondary-inverse hover:text-secondary-inverse'; } return 'bg-' + color + ' text-' + color + '-inverse hover:text-' + color + '-inverse'; } %>
<% blocks.forEach(function(block, index) { %>
<% if (imageHeight) { %>
<% } %> <% if (block.name) { %>
<%= block.name %>
<% } %> <% if (block.description) { %>
<%= block.description %>
<% } %>
<% }) %>
Didn't find what you were looking for?
Contact us
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 }) %>
<% }); %>
<% var maxSections = 5 %>
Toggle navigation menu
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-section-list-sections', { parent: category, sections: category.sections, maxSections: maxSections, partial: partial }) %>
<% }); %>
Categories
Categories
<% categories.forEach(function(category) { %>
<%= category.name %>
<% }); %>
<% 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 (sections.length) { %>
<% sections.slice(0, maxSections).forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { parent: section, sections: section.sections, maxSections: maxSections, partial: partial }) %>
<% }); %> <% if (sections.length > maxSections) { %>
See more
<% } %>
<% } %>