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.

44 lines
1.3 KiB

extends ../layout.pug
include ../mixins/post.pug
block head
title /#{board._id}/ - #{thread.subject||thread.postId}
meta(property='og:site_name', value=openGraph.siteName)
meta(property='og:title', content=thread.subjct)
meta(property='og:url', content=openGraph.url)
meta(property='og:description', content=thread.message.substring(0,200))
if thread.files.length > 0
if thread.spoiler
meta(property='og:image', content='/img/spoiler.png')
else if thread.files[0].hasThumb
meta(property='og:image', content='/img/thumb-'+thread.files[0].filename.split('.')[0]+'.jpg')
else
meta(property='og:image', content='/img/'+thread.files[0].filename)
block content
include ../includes/boardheader.pug
br
include ../includes/postform.pug
br
nav.pages#top
5 years ago
a(href='#bottom') [Bottom]
|
a(href=`/${board._id}/index.html`) [Return]
5 years ago
|
a(href=`/${board._id}/catalog.html`) [Catalog]
hr(size=1)
form(action=`/forms/board/${board._id}/actions` method='POST' enctype='application/x-www-form-urlencoded')
section.thread
+post(thread)
5 years ago
for post in thread.replies
+post(post)
hr(size=1)
nav.pages#bottom
5 years ago
a(href='#top') [Top]
|
a(href=`/${board._id}/index.html`) [Return]
5 years ago
|
a(href=`/${board._id}/catalog.html`) [Catalog]
br
include ../includes/actionfooter.pug