Gets the page name.
import wixSiteFrontend from "wix-site-frontend"; // ... wixSiteFrontend.routerSitemap("routerPrefix").then((routerSitemap) => { const firstEntryPageName = routerSitemap[0].pageName; // 'Page Name' });