$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

<?php echo $page->template() ?>

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