refactoring

This commit is contained in:
Antoine M 2024-04-22 12:23:53 +02:00
parent d36d6ffa98
commit e33448f943

View File

@ -1,8 +1,3 @@
<?php
get_header();
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article class="container my-8 mx-auto entry-content single-editor-content <?php echo $thematiqueColorSlug ? "entry-content--" . $thematiqueColorSlug : "" ?>"> <article class="container my-8 mx-auto entry-content single-editor-content <?php echo $thematiqueColorSlug ? "entry-content--" . $thematiqueColorSlug : "" ?>">
@ -10,9 +5,4 @@ get_header();
<?php the_content() ?> <?php the_content() ?>
</article> </article>
<?php endwhile; ?> <?php endwhile; ?>
<?php endif; ?> <?php endif; ?>
<?php
get_footer();