|
|
|
extends ../layout.pug
|
|
|
|
include ../mixins/post.pug
|
|
|
|
|
|
|
|
block head
|
|
|
|
title /#{board._id}/ - #{thread.subject||thread.postId}
|
|
|
|
meta(property='og:site_name', value='fatchan')
|
|
|
|
meta(property='og:title', content=thread.subject)
|
|
|
|
meta(property='og:url', content='https://fatpeople.lol')
|
|
|
|
meta(property='og:description', content=thread.message.substring(0,200))
|
|
|
|
meta(property='og:image', content=thread.files.length > 0 ? '/img/'+thread.files[0].filename : '')
|
|
|
|
|
|
|
|
block content
|
|
|
|
include ../includes/boardheader.pug
|
|
|
|
br
|
|
|
|
include ../includes/postform.pug
|
|
|
|
br
|
|
|
|
nav.pages#top
|
|
|
|
a(href='#bottom') [Bottom]
|
|
|
|
|
|
|
|
|
a(href=`/${board._id}/index.html`) [Return]
|
|
|
|
|
|
|
|
|
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)
|
|
|
|
for post in thread.replies
|
|
|
|
+post(post)
|
|
|
|
hr(size=1)
|
|
|
|
nav.pages#bottom
|
|
|
|
a(href='#top') [Top]
|
|
|
|
|
|
|
|
|
a(href=`/${board._id}/index.html`) [Return]
|
|
|
|
|
|
|
|
|
a(href=`/${board._id}/catalog.html`) [Catalog]
|
|
|
|
br
|
|
|
|
include ../includes/actionfooter.pug
|