aboutsummaryrefslogtreecommitdiff
path: root/src/views/comments.pug
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/comments.pug')
-rw-r--r--src/views/comments.pug12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/views/comments.pug b/src/views/comments.pug
index e335cae..d7a8ab4 100644
--- a/src/views/comments.pug
+++ b/src/views/comments.pug
@@ -1,4 +1,5 @@
1include ../mixins/comment 1include ../mixins/comment
2include ../mixins/header
2 3
3doctype html 4doctype html
4html 5html
@@ -10,8 +11,11 @@ html
10 script(src="https://cdn.dashjs.org/latest/dash.all.min.js") 11 script(src="https://cdn.dashjs.org/latest/dash.all.min.js")
11 body 12 body
12 main#content 13 main#content
14 +header()
13 div.hero 15 div.hero
14 h4 r/#{post.subreddit} 16 h3
17 a(href=`/r/${post.subreddit}`) r/#{post.subreddit}
18
15 h2 #{post.title} 19 h2 #{post.title}
16 20
17 if post.is_gallery && post.is_gallery == true 21 if post.is_gallery && post.is_gallery == true
@@ -28,6 +32,12 @@ html
28 32
29 if post.selftext_html 33 if post.selftext_html
30 p.self-text !{post.selftext_html} 34 p.self-text !{post.selftext_html}
35 div.info-container
36 p
37 | #{fmtnum(post.ups)} ↑
38 |  ·  by u/#{post.author}
39
40 hr
31 41
32 div.comments-container 42 div.comments-container
33 each child in comments 43 each child in comments