$page->dirname()

Returns the full name of the page's directory

  • return (string)

Example

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

Is something missing or incorrect? Edit this page on Github…