<?php get_header();?>
<div id="kt-main">
    <div class="container">
        <div class="row">
            <div class="col-md-9">
                <div id="kt-main">
                <?php if(have_posts()):while(have_posts()):the_post();?>
                
                    <?php get_template_part('content');?>
                    
                <?php endwhile; ?>
                <!-- Pagination -->
                <div id="kt-pagination">
                    <div class="alignleft">
                    <?php previous_posts_link(__( '&laquo; Newer posts', 'justcontent' )); ?>
                    </div>
                    <div class="alignright">
                    <?php next_posts_link(__( 'Older posts &raquo;', 'justcontent' )); ?>
                    </div>
                </div>
                <!-- Pagination Ends Here -->
                <?php else:?>
                <div class="no_found_posts"><?php echo __('No Posts found.Sorry.' ,'justcontent'); ?></div>
                <?php endif;?>
                </div><!--#main-content-container ends here-->
            </div>
            <div class="col-md-3">
                <?php get_sidebar(); ?>
            </div>
        </div>
    </div>
</div>
<?php get_footer();?>