<?php
/**
 * Template part for displaying page content in page.php
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package Edify
 */

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

	<div class="post-single">
	<?php if(has_post_thumbnail()){ ?>
		<div class="post-thumb">
			<?php the_post_thumbnail('edify_single_blog');?>
		</div>
	<?php } ?>
	   <div class="single-post-content">

			<?php if ( ! get_theme_mod( 'edify_hide_page_title', false ) ) : ?>
			<h3 class="post-title"><?php the_title();?></h3>
			<?php endif; ?>
			<div class="entry-content">
				<?php
					the_content();

					wp_link_pages(
						array(
							'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'edify' ),
							'after'  => '</div>',
						)
					);
					?>
					
			</div>
		</div>

	</div>
</article><!-- #post-<?php the_ID(); ?> -->