<?php
/**
 * Template Name: Left Sidebar
 *
 * @link    https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package wpstream-theme
 */

get_header();
?>

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

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

			<div class="row">

				<?php get_sidebar(); ?>

				<div class="col-md-8 col-lg-9 order-first order-md-last">

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

						<header class="entry-header">

							<?php the_post(); ?>

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

							<?php wpstream_theme_post_thumbnail(); ?>

						</header>

						<div class="entry-content">

							<?php the_content(); ?>

						</div>

						<footer class="entry-footer">

							<?php comments_template(); ?>

						</footer>

					</main>

				</div>
			</div>

		</div>
	</div>

<?php
get_footer();