aboutsummaryrefslogtreecommitdiff
path: root/src/views/single_comment_thread.pug
blob: 1f37e9f5491bcf0873887165882d382731f0ebfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include ../mixins/comment
include ../mixins/header
include ../mixins/head
include ../utils

doctype html
html
  +head("more comments")
  body
    main#content
      +header()
      div.comments-container
        a(href=`/comments/${parent_id}`)
          | ← back to parent thread
        if comments.length == 0
          div
            p nothing to see here, this thread was shadow-banned?
        else
          each comment in comments
            +comment(comment, true, parent_id)