$page->template()

Returns the name of the used template for the page. Will return default if the intended template cannot be found.

  • return (string)

Example

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