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

<?php if (have_posts()) : ?>
	<?php while (have_posts()) : ?>
		<?php the_post(); ?>
		<div <?php post_class(); ?>>
			<h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
			<div class="entry-summary"><?php the_excerpt(); ?></div>
		</div>
	<?php endwhile; ?>
	<?php the_posts_navigation(); ?>
<?php else : ?>
	<p><?php esc_html_e('No posts found.', 'puffergo'); ?></p>
<?php endif; ?>
