jschan - Anonymous imageboard software. Classic look, modern features and feel. Works without JavaScript and supports Tor, I2P, Lokinet, etc.
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.

61 lines
2.1 KiB

5 years ago
extends ../layout.pug
block head
title #{meta.siteName}
5 years ago
block content
h1.board-title #{meta.siteName}
.table-container.flex-center.mv-10.text-center
table
tr
th.alt Welcome
tr
td
pre.no-m-p
| This is an anonymous imageboard, a type of BBS where anyone can post messages and share images.
| You don't need to register or provide any personal information to make a post.
| Choose a board below to join the discussion, or #[a(href='/create.html') create your own].
if recentNews && recentNews.length > 0
.table-container.flex-center.mv-5
table.newstable
tr
th(colspan=3) Latest News
each post in recentNews
tr
td
a.left(href=`/news.html#${post._id}`) #{post.title}
td
p.no-m-p #{`${post.message.raw.substring(0,50)}${post.message.raw.length > 50 ? '...' : ''}`}
td
- const newsDate = new Date(post.date);
time.right.reltime(datetime=newsDate.toISOString()) #{newsDate.toLocaleString(undefined, {hour12:false})}
if boards && boards.length > 0
include ../includes/boardtable.pug
each board in boards
tr
td
if board.settings.sfw === true
span.left
span(title='SFW') 💼
|
a(href=`/${board._id}/index.html`) /#{board._id}/ - #{board.settings.name}
td #{board.settings.description}
td #{board.pph}
td #{board.ips}
td #{board.sequence_value-1}
if totalStats.total-totalStats.unlisted > boards.length
tr
td(colspan=5)
a.bold(href='/boards.html') More Boards
.table-container.flex-center.mv-10.text-center
table(style='max-width:450px')
tr
th Overall Stats
tr
td
pre.no-m-p
| There are currently #[span.bold #{totalStats.total-totalStats.unlisted}] public boards, #[span.bold #{totalStats.total}] in total.
| Sitewide, #[span.bold #{totalStats.pph}] post#{totalStats.pph === 1 ? ' has' : 's have'} been made in the last hour, #[span.bold #{totalStats.posts}] in total.
| #[span.bold #{fileStats.count}] file#{fileStats.count === 1 ? ' is' : 's are'} being served, totaling #[span.bold #{fileStats.totalSizeString}].