$page->uid()

The UID is the page directory name without the sorting number.

  • return (string)

Example

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