$page->dirname()

Returns the full name of the page's directory

  • return (string)

Example

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