<?php
/**
 * The main template file.
 *
 * @package Theme Meme
 */

get_header(); ?>

	<div class="row">
		<div class="col-xs-12 content-area" role="main">

		<?php if ( have_posts() ) : ?>

			<div class="row items">
			<?php while ( have_posts() ) : the_post(); ?>

				<?php
					get_template_part( 'content', get_post_format() );
				?>

			<?php endwhile; ?>
			</div>

			<?php themememe_content_nav( 'nav-below' ); ?>

		<?php else : ?>

			<?php get_template_part( 'content', 'none' ); ?>

		<?php endif; ?>

		<!-- .content-area --></div>
	</div>

<?php get_footer(); ?>