feat(blocks): added prose to base blocks
This commit is contained in:
parent
7876a3c633
commit
4309b4d4bb
5 changed files with 31 additions and 0 deletions
5
site/snippets/blocks/heading.php
Normal file
5
site/snippets/blocks/heading.php
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
/** @var \Kirby\Cms\Block $block */ ?>
|
||||
<div class="prose">
|
||||
<<?= $level = $block->level()->or('h2') ?>><?= $block->text() ?></<?= $level ?>>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue