<?php get_header(); ?>
					
			<!--BEGIN #primary .hfeed-->
			<div id="primary" class="hfeed">
				
				<h1 class="page-title"><?php the_title(); ?></h1>
				
            	<?php get_template_part('includes/post-meta'); ?>	
            				
				<div class="hentry-wrap clearfix">
				
					<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
							
					
					<?php
					
					 // The following determines what the post format is and shows the correct file accordingly
                    $format = get_post_format();
                    get_template_part( 'includes/'.$format );
                    
                    if($format == '')
                    get_template_part( 'includes/standard' );
                    
                    ?>
                    
                    <?php comments_template('', true); ?>
                    
                    <!--BEGIN .navigation .single-page-navigation -->
					<div class="navigation single-page-navigation clearfix">
						<div class="nav-previous"><?php previous_post_link('%link', '%title &rarr;'); ?></div>
						<div class="nav-next"><?php next_post_link('%link', '&larr; %title'); ?></div>
					<!--END .navigation .single-page-navigation -->
					</div>

					<?php endwhile; ?>
				
				</div>
	
				<?php else : ?>

				<!--BEGIN #post-0-->
				<div id="post-0" <?php post_class(); ?>>
				
					<h2 class="entry-title"><?php _e('Error 404 - Not Found', 'framework') ?></h2>
				
					<!--BEGIN .entry-content-->
					<div class="entry-content">
						<p><?php _e("Sorry, but you are looking for something that isn't here.", "framework") ?></p>
					<!--END .entry-content-->
					</div>
				
				<!--END #post-0-->
				</div>

			<?php endif; ?>
			<!--END #primary .hfeed-->
			</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>