page($uri = null)

Fetches any page by URI or the current page when no URI is specified

  • $uri (string)
  • return ($page)

Example

Fetching a specific page by URI

<?php echo page('blog')->title() ?>

Fetching the current page

<?php echo page()->title() ?>