aboutsummaryrefslogtreecommitdiff
path: root/src/mixins/comment.pug
diff options
context:
space:
mode:
authorAkshay <[email protected]>2024-11-05 19:51:03 +0000
committerAkshay <[email protected]>2024-11-05 19:51:03 +0000
commitf1bf73b65a29cb733651b1c990e27f84769dc5c3 (patch)
treef1a433c056367b85ad9eff75cd3ca42e5de05f8b /src/mixins/comment.pug
parent16139326f2fb5aea23614ac779171e31390b8f72 (diff)
fix media.pug
Diffstat (limited to 'src/mixins/comment.pug')
-rw-r--r--src/mixins/comment.pug3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mixins/comment.pug b/src/mixins/comment.pug
index d02c221..99231d8 100644
--- a/src/mixins/comment.pug
+++ b/src/mixins/comment.pug
@@ -19,9 +19,8 @@ mixin infoContainer(data)
19 19
20mixin comment(com, isfirst) 20mixin comment(com, isfirst)
21 - var data = com.data 21 - var data = com.data
22 - console.log(com)
23 - var hasReplyData = hasReplies(data) 22 - var hasReplyData = hasReplies(data)
24 23
25 if com.kind == "more" 24 if com.kind == "more"
26 div(class=`more ${isfirst ? 'first' : ''}`) 25 div(class=`more ${isfirst ? 'first' : ''}`)
27 | #{data.count} more #{fmttxt(data.count, 'comment')} 26 | #{data.count} more #{fmttxt(data.count, 'comment')}