<?php get_header(); ?>

<section class="section">
  <div class="section__head">
    <h1 class="h1"><?php bloginfo('name'); ?></h1>
    <p class="muted"><?php bloginfo('description'); ?></p>
  </div>

  <div class="stack">
    <?php if (have_posts()): while (have_posts()): the_post(); ?>
      <article class="card card--pad">
        <h2 class="h3"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
        <p class="muted"><?php the_excerpt(); ?></p>
      </article>
    <?php endwhile; endif; ?>
  </div>
</section>

<?php get_footer(); ?>
