<?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 ShoBe
 */

get_header();
?>
 <!-- START TITLE -->
 <section class="section"  id="primary">
        <div class="container">
            <div class="text-center">
                <h1 class="fw-medium"><?php single_post_title(); ?></h1>
            </div>
        </div>
    </section>
    <!-- END TITLE -->
<section class="section">
    <div class="container">
        <div class="row">
            <div class="col-lg-8">
                <?php  
                // Start the loop.
                while( have_posts() ): the_post();
                    get_template_part( 'template-parts/content');						
                // End of the loop.
                endwhile;
               get_template_part( 'pagination' ); // Loads the pagination.php template 

                ?>

                   

            </div>
            <div class="col-lg-4">
                <?php get_sidebar()?>
            </div>
        </div> 
    </div>  
</section>  

<?php get_footer(); ?>