<?php
/**
 * The template for displaying 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 will use a different template.
 *
 * @package WordPress
 * @subpackage Twenty_Sixteen
 * @since Twenty Sixteen 1.0
 */

get_header(); ?>

<div class='container-fluid page-header'>
	<div class='row'>
    	<div class="page-banner" style='background:url("<?php the_post_thumbnail_url( 'full' ); ?>")'>
			<h1 class="entry-title"><?php the_title(); ?></h1>
        </div>
	</div>
</div>
<div id="primary" class='container content-area'>
	<div class='row'>
		
		<div class='col-xs-12 col-sm-12 col-md-12 col-lg-12 page-wrap'>
            <main id="main" class="site-main" role="main">
				<?php
				while ( have_posts() ) : the_post();
				get_template_part( 'template-parts/content', 'page' );
				//if ( comments_open() || get_comments_number() ) {
				//	comments_template();
				//}
				endwhile;
				?>
			</main><!-- .site-main -->
		</div>
	</div>
</div>


<?php get_footer(); ?>
