<?php get_header(); ?>

<div class="container" id="contentdiv">
    <div class="row">
        
        <div class="col-md-8 col-lg-8 col-sm-12 site-main">
            <div class="pagelayout_area">
                <section class="site-maincontentarea">            
                    <?php while (have_posts()) : the_post(); ?>
                        <?php get_template_part('template', 'contentsingle'); ?>
                        <?php the_post_navigation(); ?>
                        <?php
                        if (comments_open() || get_comments_number()) :
                            comments_template();
                        endif;
                        ?>
                    <?php endwhile; // end of the loop.  ?>                  
                </section>  
            </div><!--pagelayout_area-->
        </div><!--col-md-8 site-main-->
        <div class="col-md-4 col-lg-4 col-sm-12" id="sidebar">            
            <?php get_sidebar(); ?>
        </div>  <!--sidebar -->

        <div class="clear"></div>
    </div><!-- row -->
</div><!-- container -->	
<?php get_footer(); ?>