<?php while (have_posts()) : the_post(); ?>
  <article <?php post_class(); ?>>
    <header>
      <h2 class="entry-title"><?php the_title(); ?></h2>
      <div class="meta">
      	<?php get_template_part('templates/entry-meta'); ?>
      </div>
    </header>
    <?php get_social(); ?>
    <div class="entry-content">
      <?php the_content(); ?>
      <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'yatheme' ), 'after' => '</div>' ) ); ?>
    </div>
	<nav>
    	<ul class="pager">
      		<li class="previous"><?php previous_post_link( '%link', __( '<span class="icon-circle-arrow-left"></span> %title', 'framework' ), true );?></li>
      		<li class="next"><?php next_post_link( '%link', __( '%title <span class="icon-circle-arrow-right "></span>', 'framework' ), true ); ?></li>
    	</ul>
  	</nav>
    <?php comments_template('/templates/comments.php'); ?>
  </article>
<?php endwhile; ?>
