<?php
/**
 * The main template file
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package Korik 
 */
$korik_style_settings      = get_theme_mod('korik_style_settings','true'); 
if( $korik_style_settings == 'true'){
	$korik_style_settings ='2';
}else{
	$korik_style_settings ='1';
}
get_header(); ?>
<section class="blog-area <?php if( ! is_active_sidebar('sidebar-1')): ?>block-content-css<?php endif; ?>" id="content">
    <div class="container-fluid">
        <div class="row">
            <?php get_template_part( 'template-parts/blog/blog-'.esc_html( $korik_style_settings ).'' ); ?>
        </div>
    </div>
</section>
<?php
get_footer();
?>
