diff options
Diffstat (limited to 'src/mixins/comment.pug')
-rw-r--r-- | src/mixins/comment.pug | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mixins/comment.pug b/src/mixins/comment.pug index f46f293..3eca723 100644 --- a/src/mixins/comment.pug +++ b/src/mixins/comment.pug | |||
@@ -19,6 +19,9 @@ mixin infoContainer(data, next_id, prev_id) | |||
19 | | · | 19 | | · |
20 | | #{timeDifference(Date.now(), data.created * 1000)} | 20 | | #{timeDifference(Date.now(), data.created * 1000)} |
21 | | · | 21 | | · |
22 | if data.edited !== false | ||
23 | | edited #{timeDifference(Date.now(), data.edited * 1000)} ago | ||
24 | | · | ||
22 | a(href=`https://reddit.com${data.permalink}` title="view on reddit").nav-link open ↗ | 25 | a(href=`https://reddit.com${data.permalink}` title="view on reddit").nav-link open ↗ |
23 | 26 | ||
24 | - | 27 | - |