<?php
if (! defined('ABSPATH')) {
    exit;
} ?>

<?php while (have_posts()) : ?>
	<?php the_post(); ?>
	<article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
		<h1 class="entry-title"><?php the_title(); ?></h1>
		<div class="entry-content"><?php the_content(); ?></div>
	</article>
<?php endwhile; ?>

<?php if (comments_open() || get_comments_number()) : ?>
	<?php comments_template(); ?>
<?php endif; ?>
