Writing HTML sucks, thus we should do everything to minimize the time we spend writing it as much as possible. Thus, we have Handlebars: a lightweight templating system for Node. Handlebars allows us to avoid repetitive code by compiling the final DOM structure of our site via logic, typically compiled by task runners such as Grunt or Gulp.
If you’re involved in any sort of Node development, you’re probably already familiar with Handlebars to a degree. I thought I was, but it isn’t until we need to start a new project from scratch that we realize that we totally forgot the configuration process we took last time. That’s why I’m here.
Let’s have a quick refresher on the parts that make up Handlebars