<?php
/**
 * @package WordPress
 * @subpackage Pretty_Spots
 */

get_header();
?>
	
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<div id="main" class="clearfix">
	
	<div id="content">	
		<h1><?php the_title(); ?></h1>		
		<?php the_content('<p>Read the rest of this page &raquo;</p>'); ?>
		<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
		<?php edit_post_link('Edit this page', '<p>', '</p>'); ?>
	</div>
	
	<div id="side">
		<?php get_sidebar('subpage'); ?>
	</div>
	
</div>

<?php endwhile; endif; ?>

<?php get_footer(); ?>