<div class="blog-item">
    <div class="blog-item-img">
        <a href="<?= generateUrl('blog') . '/' . $item->category_slug . '/' . $item->slug; ?>">
            <img data-src="<?= getBlogImageURL($item, 'image_small'); ?>" alt="<?= esc($item->title); ?>" width="415" height="276" class="img-fluid lazyload"/>
        </a>
    </div>
    <h3 class="blog-post-title">
        <a href="<?= generateUrl('blog') . '/' . $item->category_slug . '/' . $item->slug; ?>"><?= esc(characterLimiter($item->title, 56, '...')); ?></a>
    </h3>
    <div class="blog-post-meta">
        <a href="<?= generateUrl('blog') . '/' . $item->category_slug; ?>"><i class="icon-folder"></i><?= esc($item->category_name); ?></a>
        <span><i class="icon-clock"></i><?= timeAgo($item->created_at); ?></span>
    </div>
    <div class="blog-post-description">
        <?= esc(characterLimiter($item->summary, 100, '...')); ?>
    </div>
</div>