@ -30,20 +30,27 @@ block content
time.right.reltime(datetime=newsDate.toISOString()) #{newsDate.toLocaleString(undefined, {hourCycle:'h23'})}
if hotThreads && hotThreads.length > 0
.table-container.flex-center.mv-5
table.posttable
table#hotposts
tr(colspan=3)
each post in hotThreads
each post, i in hotThreads
tr
td 🔥#{post.replyposts + post.replyfiles}
td.text-center
span.help(title='Hot Thread') 🔥
| #{post.replyposts + post.replyfiles}
td
if post.nomarkup != null
a.quote(href=`/${post.board}/thread/${post.postId}.html#${post.postId}`) #{`${post.subject.substring(0,30)}${post.subject && post.subject.length > 30 ? '...' : ''} ${post.nomarkup && post.nomarkup.substring(0,50)}${post.nomarkup && post.nomarkup.length > 50 ? '...' : ''}`}
if post.nomarkup === null
a.quote(href=`/${post.board}/thread/${post.postId}.html#${post.postId}`) (No comment.)
- const threadLink = `/${post.board}/thread/${post.postId}.html#${post.postId}`;
a.quote(href=threadLink)
if post.subject
| #{post.subject.substring(0,30)}#{post.subject.length > 30 ? '...' : ''}
if post.nomarkup
| -
if post.nomarkup
| #{post.nomarkup.substring(0,40)}#{post.nomarkup.length > 40 ? '...' : ''}
if !post.nomarkup && !post.subject
| >>>/#{post.board}/#{post.postId}
td
- const newsDate = new Date(post.bumped);
time.right.reltime(datetime=newsDate.toISOString()) #{newsDate.toLocaleString(undefined, {hourCycle:'h23'})}
- const bump Date = new Date(post.bumped);
time.right.reltime(datetime=bumpDate.toISOString()) #{bump Date.toLocaleString(undefined, {hourCycle:'h23'})}
if boards && boards.length > 0
+boardtable(true, false)
each board in boards