investigation → add insert
All checks were successful
Deploy / Deploy to Production (push) Successful in 13s

This commit is contained in:
Julie Blanc 2026-02-19 15:15:47 +01:00
parent d51835a2c0
commit 65e8290edf
7 changed files with 98 additions and 3 deletions

View file

@ -0,0 +1,11 @@
<?php
/** @var \Kirby\Cms\Block $block */
?>
<div class="insert">
<div class="insert--inner">
<?php if ($block->title()->isNotEmpty()): ?>
<<?= $block->level()->or('h3') ?>><?= $block->title()->esc() ?></<?= $block->level()->or('h3') ?>>
<?php endif ?>
<?= $block->text() ?>
</div>
</div>