<div class="post-item post-item-small post-item-extra-small post-item-outlined mb-2">
    <div class="post-item-image">
        <a href="<?php the_permalink() ?>">
            <?php if (has_post_thumbnail()): the_post_thumbnail('thumb');
            else:
                echo "<img src='" . esc_url(get_template_directory_uri() . '/images/default.jpg') . "' alt='image'>";
            endif; ?>
        </a>
    </div>
    <div class="post-item-content">
        <a href="<?php the_permalink() ?>" class="title"><div><?php the_title(); ?></div></a>
        <div class="d-flex align-items-center justify-content-between">
            <div class="post-item-time"><span class="iconlyBulk-Time-Square font-16"><span class="path1"></span><span class="path2"></span></span><span class="ms-2"><?php banta_date( 'j F Y' ,get_the_date('y-m-d'));?></span></div>
        </div>
    </div>
</div>
