$page->title()
Returns the title field or the slug as fallback
$page->title(): Kirby\Content\Field
Return type
This method modifies the existing $page
object it is applied to and returns it again.
Parent class
Examples
<?= $page->title() ?>
Returns the title field or the slug as fallback
$page->title(): Kirby\Content\Field
This method modifies the existing $page
object it is applied to and returns it again.
<?= $page->title() ?>