|
|
|
extends ../layout.pug
|
|
|
|
include ../mixins/post.pug
|
|
|
|
|
|
|
|
block head
|
|
|
|
title /#{board._id}/ - Recent Posts
|
|
|
|
|
|
|
|
block content
|
|
|
|
include ../includes/boardheader.pug
|
|
|
|
include ../includes/postform.pug
|
|
|
|
.mode Posting mode: Thread [#[a.no-decoration(href=`/${board._id}/catalog`) Catalog]]
|
|
|
|
hr(size=1)
|
|
|
|
include ../includes/pages.pug
|
|
|
|
hr(size=1)
|
|
|
|
form(action='/forms/board/'+board._id+'/actions' method='POST' enctype='application/x-www-form-urlencoded')
|
|
|
|
input(type='hidden' name='_csrf' value=csrf)
|
|
|
|
if threads.length === 0
|
|
|
|
p No posts.
|
|
|
|
hr(size=1)
|
|
|
|
for thread in threads
|
|
|
|
section.thread
|
|
|
|
+post(thread, true)
|
|
|
|
for post in thread.replies
|
|
|
|
+post(post, true)
|
|
|
|
hr(size=1)
|
|
|
|
include ../includes/pages.pug
|
|
|
|
hr(size=1)
|
|
|
|
include ../includes/actionfooter.pug
|