<?php get_header(); ?>

<div class="site-container">

<?php if ( have_posts() ) : ?>

    <?php while ( have_posts() ) : the_post(); ?>

        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

            <?php if ( get_the_title() ) : ?>
                <header class="entry-header">
                    <h1 class="entry-title"><?php the_title(); ?></h1>
                </header>
            <?php endif; ?>

            <div class="entry-content">
                <?php
                the_content();
                wp_link_pages([
                    'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'aurora-lite' ),
                    'after'  => '</div>',
                ]);
                ?>
            </div>

        </article>

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

    <?php endwhile; ?>

<?php endif; ?>

</div>

<?php get_footer(); ?>
