{% load humanize %}
{% load static %}

<div class="single-sidebar-widget popular-post-widget">
    <h4 class="popular-title">Popular Posts</h4>
    <div class="popular-post-list">
        {% for post in posts %}
        <div class="single-post-list d-flex flex-row align-items-center mb-3">
            <div class="thumb">
                <img class="img-fluid" src="{{post.image.url}}" alt="">
            </div>

            <div class="details ms-2">
                <a href="{% url 'blog:single' pid=post.id 