add title

This commit is contained in:
isUnknown 2024-09-13 16:37:52 +02:00
parent b82f6ebba2
commit 61bc24c984

View file

@ -8,7 +8,7 @@
</div>
<div class="hero__image">
<?php if ($site->heroLinkUrl()->isNotEmpty() == 'true'): ?>
<a href="<?= $site->heroLinkUrl()->toUrl() ?>">
<a href="<?= $site->heroLinkUrl()->toUrl() ?>" title="en savoir plus">
<?php snippet('picture', ['file' => $site->heroImage()->toFile()]) ?>
</a>
<?php else: ?>