Fix missing reply box
This commit is contained in:
1 parent
5264e7eed3
commit
2baae0c7a0
1 file changed
+6
@@ -24,6 +24,12 @@
|
|||||||
<p>{{ reply1.content }}</p>
|
<p>{{ reply1.content }}</p>
|
||||||
<small class="text-right underline text-xs cursor-pointer mt-1 inline-block">reply</small>
|
<small class="text-right underline text-xs cursor-pointer mt-1 inline-block">reply</small>
|
||||||
|
|
||||||
|
<!-- Reply Box -->
|
||||||
|
<div class="mt-4">
|
||||||
|
<textarea class="w-full px-3 py-2 bg-bg-light border border-gray-300 rounded text-sm mb-2" placeholder="Reply to this comment..."></textarea>
|
||||||
|
<button class="px-3 py-1 text-xs bg-primary text-white rounded hover:bg-primary-dark">Reply</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% assign replies2 = site.comments | where: "parent", reply1.slug | sort: "date" %}
|
{% assign replies2 = site.comments | where: "parent", reply1.slug | sort: "date" %}
|
||||||
{% for reply2 in replies2 %}
|
{% for reply2 in replies2 %}
|
||||||
<div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2">
|
<div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2">
|
||||||
|
|||||||
Reference in new issue
Block a user