<?php
/**
 * Template part for displaying page content in page.php
 *
 * @subpackage Woodworker
 * @since 1.0
 * @version 0.1
 */

?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<header class="entry-header">
		<?php edit_post_link( __( 'Edit', 'woodworker' ), '<span class="edit-link">', '</span>' ); ?>
	</header>
	<div class="entry-content">
		<?php if(has_post_thumbnail()) { ?>
	    	<?php the_post_thumbnail(); ?>
	    <?php }?>
		<p><?php the_content();?></p>
		<?php
			wp_link_pages( array(
				'before' => '<div class="page-links">' . __( 'Pages:', 'woodworker' ),
				'after'  => '</div>',
			) );
		?>
	</div>
</article>