<article id="post-<?php the_ID(); ?>" <?php post_class( 'post-card' ); ?>>
  <?php if ( has_post_thumbnail() ) : ?><a class="card-thumb" href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'large' ); ?></a><?php endif; ?>
  <div class="card-body">
    <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    <div class="entry-meta"><span><?php echo esc_html( get_the_date() ); ?></span><span>·</span><span><?php the_author(); ?></span></div>
    <div class="entry-excerpt"><?php the_excerpt(); ?></div>
  </div>
</article>
