<?php get_header(); ?>

<?php
if( get_theme_mod( 'breadcrumbx_setting', '1' ) == '1' ) {
	di_magazine_breadcrumbs();
}

$single_layout = esc_attr( get_theme_mod( 'blog_single_layout', 'rights' ) );
?>

<div class="<?php if( $single_layout == 'rights' ) { echo 'col-md-8'; } elseif( $single_layout == 'lefts' ) { echo 'col-md-8 layoutleftsidebar'; } else { echo 'col-md-12'; } ?>">
	<div class="left-content dflt-anews-pst" >
		
		<?php
		while( have_posts() ) : the_post();
		
			get_template_part( 'content', get_post_format() );
			
			comments_template();
			
			di_magazine_post_navigation();
		
		endwhile;
		?>
		
	</div>
</div>
<?php if( $single_layout == 'rights' || $single_layout == 'lefts' ) { get_sidebar(); } ?>
<?php get_footer(); ?>
