<?php
/*
Template Name: Home http://pastebin.com/h8yZBPZV
*/
?>

<?php get_header(); ?>

<div id="content" class="page col-full">
<div id="main" class="col-left">
<?php $showfeatured = get_option('woo_featured'); if ($showfeatured <> "true") { if (get_option('woo_exclude')) update_option("woo_exclude", ""); } ?>
<?php if ( !$paged && $showfeatured == "true" ) include ( TEMPLATEPATH . '/includes/featured.php' ); ?>
<?php if (have_posts()) : $count = 0; ?>
<?php while (have_posts()) : the_post(); $count++; ?>

<div class="post">

<h1 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>

<div class="entry">
<?php the_content(); ?>
</div><!-- /.entry -->

<?php edit_post_link( __('Edit', 'woothemes'), '<span class="small-edit">', '</span>' ); ?>

</div><!-- /.post -->

<?php $comm = get_option('woo_comments'); if ( 'open' == $post->comment_status && ($comm == "page" || $comm == "both") ) : ?>
<h3 class="pagecom"><?php _e('Comments', 'woothemes') ?></h3>
<?php comments_template(); ?>
<?php endif; ?>

<?php endwhile; else: ?>
<div class="post">
<p><?php _e('Sorry, no posts matched your criteria.', 'woothemes') ?></p>
</div><!-- /.post -->
<?php endif; ?>

</div><!-- /#main -->

<?php get_sidebar(); ?>

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

<?php get_footer(); ?>