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

@ -229,6 +229,9 @@
<?php elseif ($block->type() === 'horizontal-gallery'): ?>
<?php snippet('blocks/' . $block->type(), ['block' => $block]) ?>
<?php elseif ($block->type() === 'insert'): ?>
<?php snippet('blocks/insert', ['block' => $block]) ?>
<?php endif ?>
<?php endforeach ?>
</div>
@ -275,6 +278,8 @@
<?= $block->text() ?>
<?php elseif ($block->type() === 'heading'): ?>
<<?= $block->level()->or('h3') ?>><?= $block->text() ?></<?= $block->level()->or('h3') ?>>
<?php elseif ($block->type() === 'insert'): ?>
<?php snippet('blocks/insert', ['block' => $block]) ?>
<?php endif ?>
<?php endforeach ?>
</div>