buildRenderedHtml = async config => {
  if (!index) index = await readFile(__dirname + '/views/index.html', 'utf8');
  if (!template) template = handlebars.compile(index);
  return template(config);
}
Builds and executes Handlebars.js template for rendered HTML

@param {object} config The template config object.
@returns {Promise}