<?php get_header(); ?>

<div class="container">
			<div class="row content">
				
				<div class="col-sm-8 articles">
					<?php if ( have_posts() ) : ?>
					<?php while (have_posts()) : the_post(); ?>
					<div class="article post" id="post-<!--?php the_ID(); ?-->">
						<header class="article-top">
							<p class="meta">Posted <?php the_time('F jS, Y') ?></p>
							<h2><a href="<!--?php the_permalink() ?-->" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
						</header>
						<div class="article-content">
							<?php the_content('Read the rest of this entry »'); ?>
						</div>
						<footer class="footer-meta">
							<div class="row">
								<div class="span8 comments-social">
									<p class="comments-btn"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></p>
								</div>
							</div>
							<div class="row">
								<div class="span8">
									<span class="cats">Posted in<em><!--?php the_category(', ') ?--></em></span>
								</div>
							</div>
						</footer>
						<?php endwhile; ?>
					</div>
					
					<nav class="pagination">
						<div class="wrap navigation">
							<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
							<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
						</div>
					</nav>

					<?php else : ?>
						<h2 class="center">Not Found</h2>
						<p class="center">Sorry, but you are looking for something that isn't here.</p>
						<?php include (TEMPLATEPATH . "/searchform.php"); ?>
					<?php endif; ?>
					
				</div>
				
				<?php get_sidebar(); ?>

			</div>
		</div>

<?php get_footer(); ?>