add quote block, cite custom mark, and blockquote styles
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6ea1325e91
commit
e425d6d141
10 changed files with 147 additions and 34 deletions
9
site/snippets/blocks/quote.php
Normal file
9
site/snippets/blocks/quote.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php /** @var \Kirby\Cms\Block $block */ ?>
|
||||
<blockquote class="<?= $block->mode()->or('long') ?>">
|
||||
<?= $block->text() ?>
|
||||
<?php if ($block->citation()->isNotEmpty()): ?>
|
||||
<footer>
|
||||
<?= $block->citation() ?>
|
||||
</footer>
|
||||
<?php endif ?>
|
||||
</blockquote>
|
||||
Loading…
Add table
Add a link
Reference in a new issue