I am getting started with Kirby and try to use a custom blog with custom html (using the starterkit for trial purposes)
There is the file
columns: - width: 1/1 # This columns only has a single field fields: text: type: blocks fieldsets: - heading - text textsnippet: name: textsnippet tabs: content: fields: text: type: text
<?php if ($block->text()->isNotEmpty()): ?> <div> <?php $block->text()?> </div> <?php endif ?>
<article class="note"> <div class="note text"> <?= $page->text()->toBlocks() ?> </div> </article>
While the other two custom blocks available in the starterkit render perfectly fine, the text which I add through the custom block “textsnippet” does not show up. Does anyone see what I am missing?