Websites v4 docs v5.2.4
    Preparing search index...

    Function usePageName

    • Checks pathname and returns the name of the page (e.g. 'Article', 'Interstitial'). For use on shared buttons and sidebars.

      Returns "Article" | "Interstitial" | "Area Guide" | "Footer" | "Page"