docs: function initHandlebars (config) {
      // load any helpers in the helpers directory
      initHandlebarsHelpers(config)
      // hadlebars config - use reverse of dir list so that local app files
      // override modules and defaults
      var handlebarsConfig = {
          defaultLayout: config.handlebars.defaultLayout,
          ext: config.handlebars.ext,
          helpers: config.handlebars.helpers,
          layoutDirs: _.reverse(config.dir.layouts),
          partialDirs: _.reverse(config.dir.partials),
      }
      // debug handlebars config
      debug('init handlebars:', handlebarsConfig)
      // create new express handlebars engine
      var engine = expressHandlebarsMulti(handlebarsConfig)
      // configure express
      config.express.engine(config.handlebars.ext, engine)
      config.express.set('view engine', config.handlebars.ext)
      // views can be in specific views directories or in apps directories
      var viewsDir = config.dir.views
      var appDir = config.dir.app
      // app directory is also the primary views directory use the reverse
      // so that local app directories override modules and defaults
      config.express.set('views', _.reverse(appDir.concat(viewsDir)))
  }