$page->dirname()

Returns the full name of the page's directory

  • return (string)

Example

<?php echo $page->dirname() ?>