$page->id()

Returns the page id, which is the untranslated URI

  • return (string)

Example

<?= $page->id() ?>