<?php get_header(); ?>  
    <?php  $blogsidebar=get_theme_mod('choose-option-blog');?>
  <!--banner--><section id="content" class="wow fadeInUp">
    <div class="container">
      <div class="row">
           <?php if($blogsidebar=='left_blog'){?>
<aside class="col-md-4 col-sm-4 col-xs-12 left_sidebar">

    <?php get_sidebar(); ?>

    </aside>
    
<?php }?>
<?php if($blogsidebar=='full_blog'){
	$blogclass="col-md-12 col-sm-12 col-xs-12";
}
else
{
	$blogclass="col-md-8 col-sm-8 col-xs-12";
}?>
          <?php if ( have_posts() ) : ?>
          <article class="<?php echo esc_attr($blogclass);?>">
              
              <div class="left-section wow fadeInUp">
                       
      <?php while(have_posts()): the_post(); 
                  
                  get_template_part('template-parts/content', get_post_format());
                  
              endwhile;
                 ?>
            
            
            <!--entry--> 
          </div>
          <!--left-section-->
          <nav class="pagination wow fadeInUp">
           
                <div class="alignleft"> <?php previous_posts_link(__('&laquo; Previous', 'tribute')); ?></div>
                   <div class="alignright"><?php next_posts_link(__('Next &raquo;', 'tribute')); ?></div>
      
          </nav>
        </article>
          
          <?php endif; ?>
          
        <?php if($blogsidebar=='right_blog'){?>
      <aside class="col-md-4 col-sm-4 col-xs-12">

    <?php get_sidebar(); ?>

    </aside>
<?php }?>
      </div>
    </div>
  </section>
  <!--content-->
  
  <?php get_footer(); ?>
  