mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
367 B
11 lines
367 B
mixin post(board, post)
|
|
div(class='post-container '+(post.thread ? '' : 'op'))
|
|
span #{post.subject}
|
|
span , #{post.author}
|
|
span , #{post.date.toLocaleString()}
|
|
span , Post
|
|
if post.thread == null
|
|
a(href=`/${board._id}/thread/${post._id}`) ##{post._id}
|
|
else
|
|
a(href=`/${board._id}/thread/${post.thread}#${post._id}`) ##{post._id}
|
|
p #{post.content}
|
|
|