<?php
/**
 * The template for displaying all single posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @subpackage bizzmo
 * @since bizzmo
 */
get_header();
if( ! is_front_page() ) 
{ ?>
<div class="sp-100 bg-w">
	<div class="container">
		<div class="row">
			<?php if( is_active_sidebar( 'blog-sidebar' ) ){ ?>
				<div class="col-lg-8">
			<?php }else{ ?>
				<div class="col-lg-12">
			<?php } ?>
				<?php
				if ( have_posts() ) :
					if ( is_home() && is_front_page() ) :
						?>
						<header>
							<h1 class="page-title screen-reader-text"><?php the_title(); ?></h1>
						</header>
						<?php
					endif;
					while ( have_posts() ) :
						the_post();
						get_template_part( 'template-parts/content', 'page' );

					endwhile;?>
				<?php
				else :
            	get_template_part( 'template-parts/content', 'none' );
				endif;
				if ( comments_open() || get_comments_number() ) :
				comments_template();
			endif; ?>
		</div>
		<?php if( is_active_sidebar( 'blog-sidebar' ) ){ ?>
		<?php get_sidebar(); } ?>
		</div>
	</div>
</div>
<?php } ?>
<?php
get_footer();
?>