FIX passing h& to post header title instead of h2
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nonimart 2025-06-26 17:36:19 +02:00
parent 2f043c05fe
commit 7b315ce540

View File

@ -44,7 +44,7 @@ $citeReference = get_field('cite_reference', get_the_ID());
<?php if ($post_type === 'revues') : ?>
<h1 class="post-header__title"> <?php echo $revueTitle; ?></h1>
<?php elseif ($post_type === 'articles') : ?>
<h2 class="post-header__title"> <?php echo get_the_title(); ?></h2>
<h1 class="post-header__title"> <?php echo get_the_title(); ?></h1>
<?php endif; ?>
<div class="post-details">