<?php get_header(); ?>

<div id="content">

    <?php include (TEMPLATEPATH . '/intro.php'); ?>

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

        <div class="postWrapper">

            <!-- META -->
		    <div class="postmetadata">
                <p class="meta-date">
				    <span class="date-day"><?php the_time('j') ?></span>
                    <span class="date-month"><?php the_time('M') ?></span>
					<span class="date-year"><?php the_time('Y') ?></span>
                </p>
                <p class="meta-author"><?php _e('by', 'oneroom') ?> <?php the_author() ?></p>
				<?php edit_post_link(__('<p class="meta-edit">Edit</p>', 'oneroom'), __('', 'oneroom'), __('', 'oneroom'), '', '');?>
                <?php comments_number(__('<p class="meta-comments"><a href="#comments">No Comments</a></p>', 'oneroom'), __('<p class="meta-comments"><a href="#comments">1 Comment &#187;</a></p>', 'oneroom'), __('<p class="meta-comments"><a href="#comments">% Comments &#187;</a></p>', 'oneroom'), '', '');?>
			</div>

			<div class="post" id="post-<?php the_ID(); ?>">
				<h1><?php the_title(); ?></h1>

				<div class="entry">
    				<?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>

    				<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
				</div>
            </div>
        </div>

        <?php comments_template(); ?>

	<?php endwhile; endif; ?>

</div> <!-- / content -->

<?php get_sidebar(); ?>

<?php get_footer(); ?>
