<?php
/**
 * @package ChaosTheory
 */
?>
<?php get_header(); ?>

	<div id="container">
		<div id="content" class="hfeed">

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

				<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
					<div class="entry-meta">
						<h2 class="entry-title"><?php the_title(); ?></h2>
						<ul>
							<li class="entry-date"><?php printf( __( '%1$s &#8211; %2$s', 'chaostheory' ), get_the_date(), get_the_time() ); ?></li>
							<li class="entry-category"><?php printf( __( 'Posted in %s', 'chaostheory' ), get_the_category_list( ', ' ) ); ?></li>
							<?php the_tags( '<li class="entry-tags">' . __( 'Tagged', 'chaostheory' ) . ' ', ', ', '</li>' ); ?>
							<?php edit_post_link( __( 'Edit', 'chaostheory' ), '<li class="entry-editlink">', '</li>' ); ?>
						</ul>
					</div>
					<div class="entry-content">
						<?php the_content( '<span class="more-link">' . __( 'Read More &raquo;', 'chaostheory' ) . '</span>' ); ?>
						<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages: ', 'chaostheory' ), 'after' => '</div>' ) ); ?>
					</div>
				</div><!-- .post -->

				<div id="nav-below" class="navigation">
					<div class="nav-previous"><?php previous_post_link( '&laquo; %link' ); ?></div>
					<div class="nav-next"><?php next_post_link( '%link &raquo;' ); ?></div>
				</div>

				<?php comments_template( '', true ); ?>

			<?php endwhile; // end of the loop. ?>

		</div><!-- #content .hfeed -->
	</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>