details style
This commit is contained in:
parent
94d14d70c1
commit
af9785e436
23 changed files with 95 additions and 31 deletions
|
|
@ -4,7 +4,7 @@ $caption = $block->caption();
|
|||
$crop = $block->crop()->isTrue();
|
||||
$ratio = $block->ratio()->or('auto');
|
||||
?>
|
||||
<figure<?= Html::attr(['data-ratio' => $ratio, 'data-crop' => $crop], null, ' ') ?>>
|
||||
<figure id="<?= $block->id() ?>"<?= Html::attr(['data-ratio' => $ratio, 'data-crop' => $crop], null, ' ') ?>>
|
||||
<ul>
|
||||
<?php foreach ($block->images()->toFiles() as $image): ?>
|
||||
<li class="<?= $image->taille()->esc()?> <?= $image->orientation()?>">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue