$site->page($uri = null)

Returns a specific $page object by URI. If no URI is specified the currently active page will be returned.

  • return ($page)

Example

Fetching the current page

<?= $site->page()->title() ?>

Fetching any subpage

<?= $site->page('some/sub/page/deep/down')->title() ?>