Articles

Handlebars 'each' block helper and json file
Handlebars 'each' block helper and json file

With the static website boilerplate I have found that I can use Handlebars.js with its built-in each block helper and a JSON file to simply create and edit various elements of a page.

Posted By Will Moody On

Scss includes for grid layouts
Scss includes for Grid Layout

With Css Grid Layout being widely accepted for page and sub-page layouts, I had a need for main section of a page to contain full width and narrower sections.

Posted By Will Moody On

Cache busting Css and Js files
Cache Busting Css and Js files

Cache busting solves the browser caching issue by using a unique file version identifier to tell the browser that a new version of the file is available.

Posted By Will Moody On

Static Website Source Files
Static Website Source Files

Leading on from the previous post about Static Website Boilerplate here are more details of the src file structure used.

Posted By Will Moody On

Sitewide Handlebars details
Sitewide Handlebars Details

Creating a details.yml file which looks like the one below helps greatly, this gives me a bunch of details which only have to be changed once to update all pages and partials.

Posted By Will Moody On

Static website boilerplate
Static Website Boilerplate

Not all websites warrant a CMS and are simply static sites where the content does not change, these can easily be built using a boilerplate.

Posted By Will Moody On