Search...
pageName
Gets the page name.
Type:
stringRead Only
Was this helpful?
Get the name of the sitemap entry
Copy Code
1import wixSiteFrontend from 'wix-site-frontend';23// ...45wixSiteFrontend.routerSitemap('routerPrefix')6 .then((routerSitemap) => {7 const firstEntryPageName = routerSitemap[0].pageName; // 'Page Name'89 });