diff options
Diffstat (limited to 'src/mixins/comment.pug')
-rw-r--r-- | src/mixins/comment.pug | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mixins/comment.pug b/src/mixins/comment.pug index ffd4b5a..5b6f097 100644 --- a/src/mixins/comment.pug +++ b/src/mixins/comment.pug | |||
@@ -12,6 +12,10 @@ mixin infoContainer(data, next_id, prev_id) | |||
12 | if prev_id | 12 | if prev_id |
13 | a(href=`#${prev_id}` title="scroll to previous comment").nav-link prev | 13 | a(href=`#${prev_id}` title="scroll to previous comment").nav-link prev |
14 | | · | 14 | | · |
15 | if data.gilded > 0 | ||
16 | span.gilded | ||
17 | | #{data.gilded} ☆ | ||
18 | | · | ||
15 | span(class=`${data.is_submitter ? 'op' : ''}`) | 19 | span(class=`${data.is_submitter ? 'op' : ''}`) |
16 | | u/#{data.author} #{hats.length==0?'':`(${hats.join('|')})`} | 20 | | u/#{data.author} #{hats.length==0?'':`(${hats.join('|')})`} |
17 | | · | 21 | | · |