<?php
/**
 * Main template fallback.
 *
 * @package EasySite_Pro
 */

get_header();
?>

<div class="easysite-container easysite-content-area">
	<?php if ( have_posts() ) : ?>
		<?php while ( have_posts() ) : the_post(); ?>
			<article <?php post_class( 'easysite-post' ); ?>>
				<header class="easysite-entry-header">
					<?php the_title( '<h1 class="easysite-entry-title">', '</h1>' ); ?>
				</header>
				<div class="easysite-entry-content">
					<?php the_content(); ?>
				</div>
			</article>
		<?php endwhile; ?>
	<?php else : ?>
		<p><?php esc_html_e( 'No content found.', 'easysite-pro' ); ?></p>
	<?php endif; ?>
</div>

<?php
get_footer();
