<?php get_header(); ?>                          

		<div class="content">
			<?php if(have_posts()) : ?>
			<?php while(have_posts()) : the_post(); ?>
			<div class="post-main">
				<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> <span>(<?php the_date_xml(); ?>)</span></h1>
				<div class="post">
					<a href="<?php the_permalink(); ?>"></a>
					<?php the_excerpt(); ?>
				</div>
			</div> 
			<?php endwhile; ?>
			<div class="nav">
				<?php posts_nav_link(); ?>
			</div>
			<?php else : ?>
			<div class="post-main"> 
				<h1><?php _e( 'Not found.', 'ecogray' ); ?></h1>
			</div> 		
			<?php endif; ?>
		</div><div class="row">

</div></div>
	</div></div>
<?php get_footer(); ?>