How i can render a block statically ? I can use the render function but I need to create a fake $block variabile, how to do that ?
found a working solution by creating a block instance:
$block = new \Kirby\Cms\Block([
'content' => [
'field1' => 'value',
'field2' => 'value',
],
'type' => 'hero'
]);
echo $block;