$page->render()
Renders the page with the given data.
Parameters
Name | Type | Default |
---|---|---|
$data | array |
[ ] |
$contentType | string |
'html' |
Return type
string
Exceptions
Type | Description |
---|---|
Kirby\Exception\NotFoundException |
If the default template cannot be found |