<?php get_header(); ?>

	<div id="content-wrapper">
		
		<?php get_sidebar(); ?>

		<div id="main-content">	

			<?php if(!get_post_meta($post->ID, 'ghostpool_hide_page_title', true)) { ?><h1 class="page-title"><?php the_title(); ?></h1><?php } ?>

			<?php the_attachment_link($post->post_ID, true) ?>
			<?php the_content(); ?>

		</div>
		
	</div>
		
<?php get_footer(); ?>