images modifs
This commit is contained in:
parent
0545b131de
commit
714f0a12f8
20 changed files with 134 additions and 22 deletions
|
|
@ -8,13 +8,14 @@ $src = $block->image()->toFile()->url();
|
|||
?>
|
||||
|
||||
<?php if ($src): ?>
|
||||
<figure class="print-image full-page <?= $block->taille()->esc() ?>">
|
||||
<figure class="print-image full-page <?= $block->taille()->esc() ?>">
|
||||
|
||||
<img src="<?= $src ?>" alt="<?= $alt->esc() ?>">
|
||||
<img src="<?= $src ?>" alt="<?= $alt->esc() ?>">
|
||||
|
||||
<?php if ($caption->isNotEmpty()): ?>
|
||||
<figcaption>
|
||||
<?= $caption->kt() ?>
|
||||
</figcaption>
|
||||
<?php endif ?>
|
||||
</figure>
|
||||
<?php if ($caption->isNotEmpty()): ?>
|
||||
<figcaption>
|
||||
<?= $caption->kt() ?>
|
||||
</figcaption>
|
||||
<?php endif ?>
|
||||
</figure>
|
||||
<?php endif ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue