summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/benki/posts
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates/benki/posts')
-rw-r--r--src/main/resources/templates/benki/posts/postList.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/resources/templates/benki/posts/postList.html b/src/main/resources/templates/benki/posts/postList.html
index fc874cf..0fc8a6d 100644
--- a/src/main/resources/templates/benki/posts/postList.html
+++ b/src/main/resources/templates/benki/posts/postList.html
@@ -83,7 +83,9 @@
{post.descriptionHtml.raw}
</div>
- <div class="comment-box"></div>
+ {#if showCommentBox}
+ {#commentBox postId=post.id /}
+ {/if}
</article>
{#else}
<article class="lazychat-message">
@@ -113,6 +115,10 @@
<div class="lazychat-message-content post-content">
{post.descriptionHtml.raw}
</div>
+
+ {#if showCommentBox}
+ {#commentBox postId=post.id /}
+ {/if}
</article>
{/if}
{/for}