<?php
/**
 * The template used for displaying page content in page.php
 *
 * @package modulus
 */
?>

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

	<div class="entry-content">
<?php 
	$single_page_featured_image = get_theme_mod( 'single_page_featured_image',true );
	$single_page_featured_image_size = get_theme_mod ('single_page_featured_image_size',1); 
	if ( $single_page_featured_image && $single_page_featured_image_size !=2 ) {
        if( has_post_thumbnail() && ! post_password_required() ) :   
		  the_post_thumbnail('modulus-blog-large-width');
	    endif;
	}
	  ?>
		<?php the_content(); ?>
		<?php
			wp_link_pages( array(
				'before' => '<div class="page-links">' . __( 'Pages:', 'modulus' ),
				'after'  => '</div>',
			) );
		?>
	</div><!-- .entry-content -->

		<?php edit_post_link( __( 'Edit', 'modulus' ), '<span class="edit-link"><i class="fas fa-pencil-alt"></i>', '</span>' ); ?>

</article><!-- #post-## -->