currentPage


currentPageunionRead-only

Gets information about the current page or lightbox.

JavaScript
import wixSiteFrontend from "wix-site-frontend"; // ... const currentPage = wixSiteFrontend.currentPage; /* * { * "name": "Home", * "type": "static", * "url": "/home", * "isHomePage": true * } */
Did this help?