<?php get_header(); ?>

<div class="container">
  <main>
    <?php
    if ( have_posts() ) :
      while ( have_posts() ) : the_post(); ?>
        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
          <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
          <div class="entry">
            <?php the_content(); ?>
          </div>
        </article>
      <?php endwhile;
    else :
      echo '<p>No content found</p>';
    endif;
    ?>
  </main>
</div>

<?php get_footer(); ?>
