<?php get_header(); ?>

	
	<div class="container"><div class="row">
	<div class="col-md-9">
	<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
		<h1><?php the_title(); ?></h1>
		<p><em><?php the_time('l, F jS, Y'); ?></em></p>
		<?php 
		if( has_post_thumbnail() ):
			echo get_the_post_thumbnail();
		endif; 
		?>
	  	<?php the_content(); ?>

	  	<hr>
		<?php comments_template(); ?>

	<?php endwhile; else: ?>
		<p><?php _e('Sorry, this page does not exist.'); ?></p>
	<?php endif; ?>
	</div>
	<div class="col-md-3">
		<?php get_sidebar(); ?>
	</div>
</div></div>
<?php get_footer(); ?>