|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
mixin catalogtile(board, post, truncate) |
|
|
|
|
mixin catalogtile(board, post, index) |
|
|
|
|
article(class='catalog-tile') |
|
|
|
|
- const postURL = `/${board._id}/thread/${post.postId}.html#${post.postId}` |
|
|
|
|
header.post-info |
|
|
|
@ -11,12 +11,13 @@ mixin catalogtile(board, post, truncate) |
|
|
|
|
if post.locked |
|
|
|
|
img(src='/img/locked.svg' height='12') |
|
|
|
|
| |
|
|
|
|
span |
|
|
|
|
a.no-decoration.post-subject(href=postURL) #{post.subject || '#'+post.postId} |
|
|
|
|
| - |
|
|
|
|
| R: #{post.replyposts} |
|
|
|
|
| / |
|
|
|
|
| F: #{post.replyfiles} |
|
|
|
|
a.no-decoration.post-subject(href=postURL) #{post.subject || '#'+post.postId} |
|
|
|
|
| - |
|
|
|
|
span(title='Replies') R: #{post.replyposts} |
|
|
|
|
| / |
|
|
|
|
span(title='Files') F: #{post.replyfiles} |
|
|
|
|
| / |
|
|
|
|
span(title='Page') P: #{Math.ceil(index/10)} |
|
|
|
|
if post.files.length > 0 |
|
|
|
|
.post-file-src |
|
|
|
|
a(href=postURL) |
|
|
|
|