<?php get_header(); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  <?php the_title(); ?>
  <?php the_content(); ?>
<?php endwhile; ?>
<?php else: ?>
<?php endif; ?>

<?php get_footer(); ?>

<?php get_header(); ?>
<div class="posts">
  <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <div class="post">
      <h1 class="post-title">
        <a href="<?php the_permalink(); ?>">
          <?php the_title(); ?>
        </a>
      </h1>

      <span class="post-date"><?php the_date(); ?></span>

      <?php the_content(); ?>
    </div>

  <?php endwhile; ?>
  <?php else: ?>
  <?php endif; ?>

</div>
<?php get_footer(); ?>

Add basic markup for posts listing.
Add basic markup for posts listing.
