<?php get_header(); ?>

<?php include('sidebar.php');?>

<div id="container">

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

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

			<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>

			<div class="entry">

				<?php the_content(); ?>
				<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
				<?php edit_post_link('Edit', '<p>', '</p>'); ?>

			</div>

                        <div class="comments-template">
                               <?php comments_template(); ?>
                        </div>

		</div>

	<?php endwhile; ?>

	<?php else : ?>

		<div class="post">
			<h2><?php _e('Not Found'); ?></h2>
		</div>

	<?php endif; ?>

</div>

<?php include('bio.php');?>
<?php include('misc.php');?>
<?php get_footer(); ?>