<?php get_header(); ?>

<main class="blog-single-post">
  <div class="blog-single-post__container">

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

      <h1 class="single-post__title"><?php the_title(); ?></h1>

      <?php if ( has_post_thumbnail() ) : ?>
        <div class="single-post__thumb">
          <?php the_post_thumbnail('large'); ?>
        </div>
      <?php endif; ?>

      <div class="single-post__content">
        <?php the_content(); ?>
      </div>

    <?php endwhile; endif; ?>

  </div>
</main>

<?php get_footer(); ?>
