removed unncessary </main> tags

This commit is contained in:
Adam Piontek 2021-07-06 09:45:09 -04:00
parent a81c43a655
commit 5592ee43e4
2 changed files with 4 additions and 3 deletions

View file

@ -12,7 +12,6 @@
namespace WP_73k; namespace WP_73k;
?> ?>
</main>
<footer class="footer relative bg-dark-1 text-light-2 pt-8 pb-16"> <footer class="footer relative bg-dark-1 text-light-2 pt-8 pb-16">
<div class="relative z-10"> <div class="relative z-10">
<div class="container mx-auto"> <div class="container mx-auto">

View file

@ -9,6 +9,7 @@
namespace WP_73k; namespace WP_73k;
get_header(); ?> get_header(); ?>
<main class="container d-flex justify-content-center">
<div class="container mx-auto relative z-10 mb-16 lg:mb-32 flex flex-wrap items-start"> <div class="container mx-auto relative z-10 mb-16 lg:mb-32 flex flex-wrap items-start">
<div class="w-full lg:w-4/6 lg:pr-10 mb-8"> <div class="w-full lg:w-4/6 lg:pr-10 mb-8">
<?php <?php
@ -20,12 +21,13 @@ get_header(); ?>
} ?> } ?>
</div> </div>
<?php <?php
if ( is_active_sidebar( 'sidebar' ) ) : ?> if ( !is_active_sidebar( 'sidebar' ) ) : ?>
<aside class="w-full lg:w-2/6 bg-white border-gray-400 border-2 p-8"> <aside class="w-full lg:w-2/6 bg-white border-gray-400 border-2 p-8">
<?php dynamic_sidebar( 'sidebar' ); ?> <?php dynamic_sidebar( 'sidebar' ); ?>
</aside> </aside>
<?php <?php
endif; ?> endif; ?>
</div> </div>
<?php </main>
<?php
get_footer(); get_footer();