docs: function initPlugins(router, site) {
    return bluebird.all(module.exports.plugins.map(plugin => {
      return bluebird.try(() => {
        if (typeof plugin === 'function') {
          return plugin(router, pluginDBAdapter, publish, sites, site);
        } else {
          log('warn', 'Plugin is not a function');
          return bluebird.resolve();
        }
      });
    }));
  }