diff --git a/views/includes/pages.pug b/views/includes/pages.pug index cafef9fa..b9b503b8 100644 --- a/views/includes/pages.pug +++ b/views/includes/pages.pug @@ -1,7 +1,12 @@ | Page: - for(let i = 1; i <= pages; i++) if i === page - span: a(href=`/${board._id}?p=${i}`) [#{i}] + span + a(href=`/${board._id}?p=${i}`) [#{i}] + | + else - span: a(href=`/${board._id}?p=${i}`) #{i} + span + a(href=`/${board._id}?p=${i}`) #{i} + | | | diff --git a/views/mixins/post.pug b/views/mixins/post.pug index d668778e..9ef4b3c2 100644 --- a/views/mixins/post.pug +++ b/views/mixins/post.pug @@ -34,7 +34,7 @@ mixin post(post, truncate, manage=false, globalmanage=false) | span.user-id(style=`background: #${post.userId}`) #{post.userId} | - span: a(href=postURL) ##{post.postId} + span: a(href=postURL) #{post.postId} .post-data if post.files.length > 0 .post-files diff --git a/views/pages/board.pug b/views/pages/board.pug index 262afd95..7bf5447f 100644 --- a/views/pages/board.pug +++ b/views/pages/board.pug @@ -10,7 +10,8 @@ block content .mode Posting mode: Thread nav.pages#top include ../includes/pages.pug - a(href='#bottom') [Bottom] + a(href='#bottom') [Bottom] + | a(href=`/${board._id}/catalog`) [Catalog] hr(size=1) form(action='/forms/board/'+board._id+'/actions' method='POST' enctype='application/x-www-form-urlencoded') @@ -25,6 +26,7 @@ block content +post(post, true) hr(size=1) nav.pages#bottom - a(href='#top') [Top] + a(href='#top') [Top] + | a(href=`/${board._id}/catalog`) [Catalog] include ../includes/actionfooter.pug diff --git a/views/pages/catalog.pug b/views/pages/catalog.pug index e8e8e7b0..82e0efe2 100644 --- a/views/pages/catalog.pug +++ b/views/pages/catalog.pug @@ -7,7 +7,8 @@ block head block content include ../includes/boardheader.pug nav.pages#top - a(href='#bottom') [Bottom] + a(href='#bottom') [Bottom] + | a(href=`/${board._id}/`) [Return] hr(size=1) if threads.length === 0 @@ -18,5 +19,6 @@ block content +catalogtile(board, thread) hr(size=1) nav.pages#bottom - a(href='#top') [Top] + a(href='#top') [Top] + | a(href=`/${board._id}/`) [Return] diff --git a/views/pages/thread.pug b/views/pages/thread.pug index de0d9c59..c726b4e3 100644 --- a/views/pages/thread.pug +++ b/views/pages/thread.pug @@ -14,8 +14,10 @@ block content include ../includes/postform.pug .mode Posting mode: Reply nav.pages#top - a(href='#bottom') [Bottom] + a(href='#bottom') [Bottom] + | a(href=`/${board._id}/`) [Return] + | a(href=`/${board._id}/catalog`) [Catalog] hr(size=1) form(action=`/forms/board/${board._id}/actions` method='POST' enctype='application/x-www-form-urlencoded') @@ -26,7 +28,9 @@ block content +post(post) hr(size=1) nav.pages#bottom - a(href='#top') [Top] + a(href='#top') [Top] + | a(href=`/${board._id}/`) [Return] + | a(href=`/${board._id}/catalog`) [Catalog] include ../includes/actionfooter.pug