fix: render comments properly in post.liquid

This commit is contained in:
Kerby Martino (aider) committed 2025-04-29 10:07:06 +08:00
1 parent 67edb553c7
commit e3358c17b6
1 file changed
+2 -2
+2 -2
View File
@@ -19,10 +19,10 @@
{% endcomment %}
{% assign comment_filename = comment.path | split: "/" | last | replace: ".md", "" %}
{% assign replies = site.comments | where: "parent", comment_filename | sort: "date" %}
{% for reply in replies %}
<div class="ml-2 mt-4 border-l-2 border-gray-200 pl-2 text-sm md:pl-4">
{% include comment.liquid comment=reply %}
</div>
{% endfor %}
</div>
</div>