<?php
/*
Template Name: Home
*/
?>
<?php get_header(); ?>
<div id="content">
<h4>home</h4>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<div class="entry">
<a href="<?php the_permalink(); ?>"></a>
<?php
if ( has_post_thumbnail() ) {
the_post_thumbnail();
}else{
echo 'no thumbs';
}
?>
<?php the_content(); ?>
</div><!--entry-->
</div>
<?php endwhile; ?>
<?php endif; ?>
</div><!-- #content -->
<?php get_footer(); ?>