feat: Add link to comment replies count

This commit is contained in:
Kerby Martino (aider) committed 2025-05-02 14:09:49 +08:00
1 parent 99ec3b3454
commit 3b908b8ce6
1 file changed
+2 -3
+2 -3
View File
@@ -16,9 +16,9 @@
<span class="bg-gray-200 text-gray-700 text-xs font-action px-4 py-2 rounded-full flex items-center cursor-pointer hover:bg-link-hover"> <span class="bg-gray-200 text-gray-700 text-xs font-action px-4 py-2 rounded-full flex items-center cursor-pointer hover:bg-link-hover">
<i class="fas fa-reply mr-1"></i> REPLY <i class="fas fa-reply mr-1"></i> REPLY
</span> </span>
<span class="bg-gray-200 text-gray-700 text-xs font-action px-4 py-2 rounded-full flex items-center cursor-pointer hover:bg-link-hover"> <a href="/comments/{{ comment.slug }}" class="bg-gray-200 text-gray-700 text-xs font-action px-4 py-2 rounded-full flex items-center cursor-pointer hover:bg-link-hover">
<i class="fas fa-comment mr-1"></i> {{ comment.replies }} <i class="fas fa-comment mr-1"></i> {{ comment.replies }}
</span> </a>
</div> </div>
<small class="text-sm font-action"> <small class="text-sm font-action">
<a href="#" class="text-sm hover:underline">{{ comment.author }}</a> <a href="#" class="text-sm hover:underline">{{ comment.author }}</a>
@@ -29,4 +29,3 @@
{% endfor %} {% endfor %}
</div> </div>
</div> </div>