Archive of: Handlebars

Handlebars 'each' block helper and json file

by Will Moody

 With the static website boilerplate which is here, 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.

Sitewide Handlebars Details

by Will Moody

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.