code: function getSite(prefix, locals) {
    const site = locals && locals.site;
  
    return site || siteService.getSiteFromPrefix(prefix);
  }
docs: Given either locals or a string,
  return the site we're working with
  
  @param {String} prefix
  @param {Object} locals
  @returns {Object}