refactoring page

This commit is contained in:
Antoine M 2023-11-09 14:25:00 +01:00
parent 2c57376df5
commit 40036a7381

View File

@ -5,19 +5,19 @@ $mainThematique = getMainThematique($currentThematique);
$thematiqueColorSlug = $mainThematique->slug;
?>
<div class="homegrade-page-container <?php echo $thematiqueColorSlug ? "homegrade-page-container--" . $thematiqueColorSlug : "" ?>">
<div class="homegrade-page-container <?php echo $thematiqueColorSlug ? "homegrade-page-container--" . $thematiqueColorSlug : "" ?>">
<?php if (have_posts()) : ?>
<?php
while (have_posts()) :
the_post();
the_content();
?>
<?php if (have_posts()) : ?>
<?php
while (have_posts()) :
the_post();
the_content();
?>
<?php endwhile; ?>
<?php endwhile; ?>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<?php get_footer();