$file->filename()

Returns the full filename including extension

  • return (string)

Example

<?= $page->file()->filename(); ?>