<?php get_header(); ?>

<div id="content">

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

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

		<!--<div class="post-sep"></div> -->

        <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'), '', '');?>
                <p class="meta-categories"><?php the_category(', ') ?></p>
                <?php the_tags('<p class="meta-tags">',', ','</p>'); ?>
			</div>               

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

				<div class="entry">
					<?php the_content(__('Read the rest of this entry &raquo;', 'oneroom'));?>
				</div>
            </div>
        </div>

        <?php comments_template(); ?>

	<?php endwhile; else: ?>

	<p><?php _e('Sorry, no posts matched your criteria.', 'oneroom') ?></p>

<?php endif; ?>

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

<?php get_sidebar(); ?>

<?php get_footer(); ?>
