<?php 

/**
* Template used for Single Pages 
* Used by: page.php & page-fullwidth.php
*/ ?>

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

	<h1 class="rilee-single-page-title"><?php the_title(); ?></h1>

	<div class="rilee-page-content">

		<?php //Page Featured Image
		if(has_post_thumbnail()) { ?>
			<div class="rilee-page-featured-image">
				<?php the_post_thumbnail('rilee-full-thumb'); ?>
			</div>
			<?php 	
		} 

		//Page Content ?>	
		<div class="rilee-page-content-wrapper">
			<?php the_content(); ?>
		</div>	

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

		//Comments 
		if(comments_open()) {
			comments_template( '', true );  
		} ?>	
		
	</div>

</article>	