|
|
@ -1,10 +1,6 @@ |
|
|
|
mixin catalogtile(board, post, truncate) |
|
|
|
mixin catalogtile(board, post, truncate) |
|
|
|
article(class='catalog-tile') |
|
|
|
article(class='catalog-tile') |
|
|
|
- const postURL = `/${board._id}/thread/${post.postId}.html#${post.postId}` |
|
|
|
- const postURL = `/${board._id}/thread/${post.postId}.html#${post.postId}` |
|
|
|
a.catalog-tile-button(href=postURL) Open Thread |
|
|
|
|
|
|
|
if post.subject |
|
|
|
|
|
|
|
span: a.no-decoration.post-subject(href=postURL) #{post.subject} |
|
|
|
|
|
|
|
.catalog-tile-content |
|
|
|
|
|
|
|
if post.files.length > 0 |
|
|
|
if post.files.length > 0 |
|
|
|
.post-file-src |
|
|
|
.post-file-src |
|
|
|
a(href=postURL) |
|
|
|
a(href=postURL) |
|
|
@ -15,16 +11,18 @@ mixin catalogtile(board, post, truncate) |
|
|
|
header.post-info |
|
|
|
header.post-info |
|
|
|
if post.sticky |
|
|
|
if post.sticky |
|
|
|
img(src='/img/sticky.svg' height='12') |
|
|
|
img(src='/img/sticky.svg' height='12') |
|
|
|
|
|
|
|
| |
|
|
|
if post.saged |
|
|
|
if post.saged |
|
|
|
img(src='/img/saged.svg' height='12') |
|
|
|
img(src='/img/saged.svg' height='12') |
|
|
|
|
|
|
|
| |
|
|
|
if post.locked |
|
|
|
if post.locked |
|
|
|
img(src='/img/locked.svg' height='12') |
|
|
|
img(src='/img/locked.svg' height='12') |
|
|
|
| |
|
|
|
| |
|
|
|
span: a(href=postURL) No.#{post.postId} |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
span Replies: #{post.replyposts} |
|
|
|
span Replies: #{post.replyposts} |
|
|
|
| |
|
|
|
| |
|
|
|
span Images: #{post.replyfiles} |
|
|
|
span Files: #{post.replyfiles} |
|
|
|
|
|
|
|
br |
|
|
|
|
|
|
|
span: a.no-decoration.post-subject(href=postURL) #{post.subject || 'No Subject'} |
|
|
|
if post.message |
|
|
|
if post.message |
|
|
|
br |
|
|
|
br |
|
|
|
blockquote.no-m-p.post-message !{post.message} |
|
|
|
blockquote.no-m-p.post-message !{post.message} |
|
|
|