helpers.js
function pageLang(page) {
    return page.lang ||
      opts.lang ||
      (opts.langDirs && !u.isRootLevel(page._href) && u.topLevel(page._href)) ||
      'en';
  }
function pageLang(page) {
    return page.lang ||
      opts.lang ||
      (opts.langDirs && !u.isRootLevel(page._href) && u.topLevel(page._href)) ||
      'en';
  }
function pageLang ( page ) { return page . lang || opts . lang || ( opts . langDirs && ! u . isRootLevel ( page . _href ) && u . topLevel ( page . _href ) ) || 'en' ; }
determine language string for a page
determine language string for a page