<?php // Template Name: Blog ?>
    <?php get_header(); ?>
        <?php $layout_value = get_theme_mod( 'andaman_sidebars', 'sidebar-right' ); ?>
            <?php if ($layout_value == 'sidebar-left') { ?>    
            <section class="section">
                <div class="container">
                    <div class="row">
                        <div class="col-md-8 col col-sm-12 sidebar-left">
                            <?php get_template_part( 'framework/content/content');?>
                        </div>
                        <?php get_sidebar(); ?>
                    </div>                
                </div>
                <?php the_posts_pagination( array('prev_text' => esc_html__('&laquo;','andaman'), 'next_text'    => esc_html__('&raquo;','andaman'))) ?>
            </section>
            <?php } elseif ($layout_value == 'sidebar-right') { ?>    
            <section class="section">
                <div class="container">
                    <div class="row">
                        <div class="col-md-8 col col-sm-12 sidebar-right">
                            <?php get_template_part( 'framework/content/content');?>
                        </div>
                        <?php get_sidebar(); ?>
                    </div>
                </div>                          
                <?php the_posts_pagination( array('prev_text' => esc_html__('&laquo;','andaman'), 'next_text'    => esc_html__('&raquo;','andaman'))) ?>
            </section>
            <?php } elseif ($layout_value == 'sidebar-no') { ?>    
            <section class="section">
                <div class="container">
                    <div class="row">
                        <div class="col-lg-12 col-md-12 col-sm-12 no-sidebar">
                            <?php get_template_part( 'framework/content/content');?>
                        </div> 
                    </div> 
                </div>
                <?php the_posts_pagination( array('prev_text' => esc_html__('&laquo;','andaman'), 'next_text'    => esc_html__('&raquo;','andaman'))) ?>
            </section>
        <?php } ?>
<?php get_footer(); ?>