aria ignore cover images

This commit is contained in:
isUnknown 2024-09-19 11:53:58 +02:00
parent 3000778750
commit 60ba9df2f7
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@
<?php endif ?>
<?php
$file = $event->gallery()->toFiles()->count() > 1 ? $event->gallery()->toFiles()->nth(1) : $event->gallery()->toFiles()->first();
snippet('picture', ["file" => $file, 'size' => (100 / (12 / $span) - 10)]);
snippet('picture', ["file" => $file, 'size' => (100 / (12 / $span) - 10), 'alt' => null]);
?>
</div>
<div class="event-card__infos">