fix: render comments properly in post.liquid
This commit is contained in:
1 parent
67edb553c7
commit
e3358c17b6
1 file changed
+2
-2
@@ -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>
|
||||
Reference in new issue
Block a user