ajout du champs blockBody dans le template. Avec possibilité de mettre des image. L'ancien champs s'affichera toujour si le nouveau est vide
This commit is contained in:
parent
bb5d12cb36
commit
f792954e04
6 changed files with 17 additions and 5 deletions
|
|
@ -32,6 +32,8 @@
|
|||
<?php endif ?>
|
||||
<?php if ($page->isHtmlMode()->isTrue()): ?>
|
||||
<?= $page->htmlBody()->kt() ?>
|
||||
<?php elseif ($page->bodyBlocks()->isNotEmpty()): ?>
|
||||
<?= $page->bodyBlocks()->toBlocks() ?>
|
||||
<?php else: ?>
|
||||
<?= $page->body() ?>
|
||||
<?php endif ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue