<?php
/**
 * Template Name: No Sidebar
 * Template Post Type: post
 *
 * @package wpstream-theme
 */

get_header();
?>
	<div id="content" class="site-content <?php echo esc_attr( wpstream_theme_container_class() ); ?> py-5 mt-4">
		<div id="primary" class="content-area">

			<!-- Hook to add something nice -->
			<?php wpstream_bs_after_primary(); ?>

			<?php wpstream_the_breadcrumb(); ?>

			<main id="main" class="site-main">

				<header class="entry-header">

					<?php the_post(); ?>

					<?php wpstream_theme_category_badge(); ?>

					<h1><?php the_title(); ?></h1>

					<p class="entry-meta">
						<small class="text-muted">
							<?php
							wpstream_theme_date();
							wpstream_theme_author();
							wpstream_theme_comment_count();
							?>
						</small>
					</p>

					<?php wpstream_theme_post_thumbnail(); ?>

				</header>

				<div class="entry-content">

					<?php the_content(); ?>

				</div>

				<footer class="entry-footer clear-both">
					<div class="mb-4">

						<?php wpstream_theme_tags(); ?>

					</div>
					<nav aria-label="bS page navigation">
						<ul class="pagination justify-content-center">

							<li class="page-item">

								<?php previous_post_link( '%link' ); ?>

							</li>

							<li class="page-item">

								<?php next_post_link( '%link' ); ?>

							</li>
						</ul>
					</nav>

					<?php comments_template(); ?>
					
				</footer>
			</main>
		</div>
	</div>

<?php
get_footer();