<?php
/*
** Template Name: Full-width
*/
get_header(); ?>
<div id="loop-container" class="loop-container">
	<?php
	if ( have_posts() ) :
		while ( have_posts() ) :
			the_post(); ?>
			<div class='entry'>
				<?php ct_tracks_featured_image(); ?>
				<div class='entry-header'>
					<h1 class='entry-title'><?php the_title(); ?></h1>
				</div>
				<div class="entry-container">
					<div class='entry-content'>
						<article>
							<?php the_content(); ?>
							<?php wp_link_pages( array(
								'before' => '<p class="singular-pagination">' . esc_html__( 'Pages:', 'tracks' ),
								'after'  => '</p>',
							) ); ?>
						</article>
					</div>
					<?php get_template_part( 'sidebar', 'after-page-content' ); ?>
				</div>
			</div>
			<?php comments_template(); ?>
		<?php endwhile;
	endif; ?>
</div>
<?php get_footer();