$page->intendedTemplate()
Returns the template that should be loaded if it exists.
$page->intendedTemplate(): Kirby\Cms\Template
Return type
Parent class
Example
<?php
echo $page->intendedTemplate();
?>
Returns the template that should be loaded if it exists.
$page->intendedTemplate(): Kirby\Cms\Template
<?php
echo $page->intendedTemplate();
?>