aboutsummaryrefslogtreecommitdiff
path: root/src/views/single_comment_thread.pug
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/single_comment_thread.pug')
-rw-r--r--src/views/single_comment_thread.pug21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/views/single_comment_thread.pug b/src/views/single_comment_thread.pug
new file mode 100644
index 0000000..cd652e6
--- /dev/null
+++ b/src/views/single_comment_thread.pug
@@ -0,0 +1,21 @@
1include ../mixins/comment
2include ../mixins/header
3include ../mixins/head
4include ../utils
5
6doctype html
7html
8 +head()
9 body
10 main#content
11 +header()
12 div.comments-container
13 a(href=`/comments/${parent_id}`)
14 | ← back to parent thread
15 if comments.length == 0
16 div
17 p nothing to see here, this thread was shadow-banned?
18 else
19 each comment in comments
20 +comment(comment, true, parent_id)
21