[#e74c3c] text-sm font-medium text-white">
                                    {{ num }}
                                </span>
                            {% else %}
                                <a href="?page={{ num }}"
                                   class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50">
                                    {{ num }}
                                </a>
                            {% e