<?php
/**
 * Single page template
 *
 * @package vamtam/pur
 */

get_header();
?>

<?php if ( have_posts() ) : the_post(); ?>
	<div class="page-wrapper">
		<?php VamtamTemplates::$in_page_wrapper = true; ?>

		<article id="post-<?php the_ID(); ?>" <?php post_class( VamtamTemplates::get_layout() ); ?>>
			<div class="page-content clearfix the-content-parent">
				<?php do_action( 'vamtam-display-sitemap' ) ?>
				<?php the_content(); ?>
				<?php wp_link_pages( array(
					'before' => '<div class="page-link">' . esc_html__( 'Pages:', 'pur' ),
					'after' => '</div>',
				) ); ?>
				<?php get_template_part( 'templates/share' ); ?>
			</div>

			<?php comments_template( '', true ); ?>
		</article>

		<?php get_template_part( 'sidebar' ) ?>

	</div>
<?php endif;

get_footer();

