Information about the blueprint

Running Kirby 3.3.0 on XAMPP 7.2.15 in a template or snippet I want to show some information about the blueprint e.g. for the admin (selection here not shown):

blueprint filename: "<?php echo $page->blueprint()->name(); ?>"
<br>
blueprint extension: "<?php echo $page->blueprint()->extension(); ?>"

The first line works but the second is empty.

How can I show the extension?

Im pretty sure extension() is a file method and you are trying to use it on a page. They are always yaml files anyway, so you can just concat .yml onto the file name if you cant get it it to work.

In the Kirby Docs:

$page->blueprint()

Returns the blueprint object

is not a page object

and

$page->blueprint()->toFile()

does not work.

Ok, I

Thank you.