<?php get_header(); ?>
<main class="site-main">
  <div class="container content-grid">
    <section class="content-area">
      <header class="archive-header"><h1><?php the_archive_title(); ?></h1><div><?php the_archive_description(); ?></div></header>
      <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); get_template_part( 'template-parts/content', get_post_type() ); endwhile; ?>
      <div class="pagination"><?php the_posts_pagination(); ?></div>
      <?php else : get_template_part( 'template-parts/content', 'none' ); endif; ?>
    </section>
    <?php get_sidebar(); ?>
  </div>
</main>
<?php get_footer(); ?>
