<?php
/**
 * Index Template (Fallback) for Chaiblend Theme 2025
 */
get_header();
?>

<!-- content START -->
<section id="content">
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

        <article id="post-<?php the_ID(); ?>">
            <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
            <?php the_excerpt(); ?>
        </article>

    <?php endwhile; ?>

        <!-- Navigation -->
        <div class="navigation">
            <div><?php next_posts_link('&laquo; Older Entries'); ?></div>
            <div><?php previous_posts_link('Newer Entries &raquo;'); ?></div>
        </div>

    <?php else : ?>
        <article>
            <h2>Not Found</h2>
            <p>Sorry, no content matched your criteria.</p>
        </article>
    <?php endif; ?>
</section>
<!-- content END -->

<?php get_footer(); ?>
