removed definition of constant BAAX_CURRENT_PAGE as it is unused and unnecessary
Added methods to have better separation and symmetry between CurrentPage, LandingPage, 404Page and ResolvedPage. Now they can all be accessed using similar methods.
As a result, no longer require calling setPage() prior to functions that require access to the current page. Now it's possible to use getCurrentPage(), getCurrentPageID(), getCurrentPagePath() etc.
Redoing last commit
Added methods to have better separation and symmetry between CurrentPage, LandingPage, 404Page and ResolvedPage. Now they can all be accessed using similar methods.
As a result, no longer require calling setPage() prior to functions that require access to the current page. Now it's possible to use getCurrentPage(), getCurrentPageID(), getCurrentPagePath() etc.