fixing cover alt

This commit is contained in:
Antoine M 2024-05-21 14:31:32 +02:00
parent a57cf14fe8
commit c3650314a6

View File

@ -224,7 +224,7 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
<a class="cta cta--secondary cta--button" href="<?php echo $highlightedDocumentDatas['document']['url'] ?>" target="_blank"><?php echo __("Consulter le PDF", "homegrade-theme__texte-fonctionnel__archive-publications") ?></a>
<?php endif; ?>
</div>
<img class="highlighted-publication__cover" src='<?php echo $highlightedDocumentDatas['cover']['url'] ?>' alt="" />
<img class="highlighted-publication__cover" src='<?php echo $highlightedDocumentDatas['cover']['url'] ?>' alt="<?php echo $highlightedDocumentDatas['cover']['alt'] ?>" />
<?php endif; ?>