<?php
/**
 * The template for displaying all pages.
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site may use a
 * different template.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package blogstyle
 */

 get_header(); ?>

<div class="bls-content-area">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="bls-pag">
   <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
       <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
         <div>
           <?php the_content(); ?>
           <?php wp_link_pages(); ?>
         </div>
  <?php endwhile;  wp_reset_postdata(); ?>
  <?php endif; ?>
 </div>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>