aboutsummaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/views')
-rw-r--r--src/views/comments.pug6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/views/comments.pug b/src/views/comments.pug
index 9d02a01..8d5acf3 100644
--- a/src/views/comments.pug
+++ b/src/views/comments.pug
@@ -36,8 +36,8 @@ html
36 else if post.post_hint == 'hosted:video' 36 else if post.post_hint == 'hosted:video'
37 - var url = post.secure_media.reddit_video.dash_url 37 - var url = post.secure_media.reddit_video.dash_url
38 video(controls data-dashjs-player src=`${url}`).post-media 38 video(controls data-dashjs-player src=`${url}`).post-media
39 else if post.post_hint == "link" && post.thumbnail && post.thumbnail != "self" && post.thumbnail != "default" 39 else if !post.selftext
40 a(href=`${post.url}`) 40 a(href=post.url)
41 | #{post.url} 41 | #{post.url}
42 42
43 if post.selftext_html 43 if post.selftext_html
@@ -47,6 +47,8 @@ html
47 p 47 p
48 | #{fmtnum(post.ups)} ↑ 48 | #{fmtnum(post.ups)} ↑
49 |  ·  by u/#{post.author} 49 |  ·  by u/#{post.author}
50 |  · 
51 | #{timeDifference(Date.now(), post.created * 1000)}
50 52
51 hr 53 hr
52 54