<?php get_header(); ?>

<?php get_template_part( 'banner'); ?><!--move this snippet to the location where you want to display your large banner widget-->

	<div id="content">

		<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
         
			<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
			
			
				<?php if(has_post_thumbnail()) :?>
						<div class="featured"> 
							<a href="<?php the_permalink(); ?>">
								<?php the_post_thumbnail(); ?>
							</a>
						</div>
				<?php endif;?>
			
			<a href="<?php the_permalink(); ?>"><h1 class="entry-title"><?php the_title(); ?></h1></a>

				<?php get_template_part( 'postmetadata'); ?>
			
			<div class="entry">
 				<?php the_excerpt(); ?>
			</div>
			
        </div><!--Ends post-->

		<?php endwhile; endif; ?>

     <div class="navigation"><?php posts_nav_link(); ?></div>

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

<?php get_template_part( 'page-sidebar'); ?>
<?php get_footer(); ?>