$kirby->template()
Uses the template component to initialize and return the Template object
$kirby->template(string $name, string $type = 'html', string $defaultType = 'html'): Kirby\Cms\Template
Parameters
Name | Type | Default |
---|---|---|
$name * | string |
– |
$type | string |
'html' |
$defaultType | string |
'html' |