diff options
Diffstat (limited to 'src/views/comments.pug')
-rw-r--r-- | src/views/comments.pug | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/views/comments.pug b/src/views/comments.pug index 50c54ec..bfb0e35 100644 --- a/src/views/comments.pug +++ b/src/views/comments.pug | |||
@@ -21,7 +21,15 @@ html | |||
21 | h3.sub-title | 21 | h3.sub-title |
22 | a(href=`/r/${post.subreddit}`) ← r/#{post.subreddit} | 22 | a(href=`/r/${post.subreddit}`) ← r/#{post.subreddit} |
23 | 23 | ||
24 | h2 #{post.title} | 24 | div.info-container |
25 | p | ||
26 | | #{fmtnum(post.ups)} ↑ | ||
27 | | · by u/#{post.author} | ||
28 | | · | ||
29 | | #{timeDifference(Date.now(), post.created * 1000)} | ||
30 | |||
31 | h2.post-title | ||
32 | != post.title | ||
25 | 33 | ||
26 | if post.is_gallery && post.is_gallery == true | 34 | if post.is_gallery && post.is_gallery == true |
27 | if post.gallery_data | 35 | if post.gallery_data |
@@ -48,13 +56,6 @@ html | |||
48 | if post.selftext_html | 56 | if post.selftext_html |
49 | p.self-text !{post.selftext_html} | 57 | p.self-text !{post.selftext_html} |
50 | 58 | ||
51 | div.info-container | ||
52 | p | ||
53 | | #{fmtnum(post.ups)} ↑ | ||
54 | | · by u/#{post.author} | ||
55 | | · | ||
56 | | #{timeDifference(Date.now(), post.created * 1000)} | ||
57 | |||
58 | hr | 59 | hr |
59 | 60 | ||
60 | div.comments-container | 61 | div.comments-container |