diff --git a/views/includes/bannersheader.pug b/views/includes/bannersheader.pug index 64315fa8..bb0a2e2c 100644 --- a/views/includes/bannersheader.pug +++ b/views/includes/bannersheader.pug @@ -1,2 +1,4 @@ section.board-header + img.board-banner(src=`/randombanner?board=${board._id}` width='300' height='100') + br h1.board-title Banners (#[a.no-decoration(href=`/${board._id}/index.html`) /#{board._id}/]) diff --git a/views/pages/banners.pug b/views/pages/banners.pug index d863bc50..20740928 100644 --- a/views/pages/banners.pug +++ b/views/pages/banners.pug @@ -5,6 +5,13 @@ block head block content include ../includes/bannersheader.pug + br + nav.pages + a(href=`/${board._id}/index.html`) [Index] + | + a(href=`/${board._id}/catalog.html`) [Catalog] + | + a.bold(href=`/${board._id}/banners.html`) [Banners] hr(size=1) section.catalog if board.banners.length > 0 diff --git a/views/pages/board.pug b/views/pages/board.pug index f0aece95..6ecd0d4b 100644 --- a/views/pages/board.pug +++ b/views/pages/board.pug @@ -14,7 +14,8 @@ block content nav.pages include ../includes/pages.pug a(href=`/${board._id}/catalog.html`) [Catalog] - | + | + a(href=`/${board._id}/banners.html`) [Banners] hr(size=1) form(action='/forms/board/'+board._id+'/actions' method='POST' enctype='application/x-www-form-urlencoded') if threads.length === 0 @@ -29,5 +30,7 @@ block content nav.pages#bottom include ../includes/pages.pug a(href=`/${board._id}/catalog.html`) [Catalog] + | + a(href=`/${board._id}/banners.html`) [Banners] br include ../includes/actionfooter.pug diff --git a/views/pages/catalog.pug b/views/pages/catalog.pug index 3302e641..b218f8fe 100644 --- a/views/pages/catalog.pug +++ b/views/pages/catalog.pug @@ -12,7 +12,11 @@ block content include ../includes/stickynav.pug .anchor#top nav.pages - a(href=`/${board._id}/index.html`) [Return] + a(href=`/${board._id}/index.html`) [Index] + | + a.bold(href=`/${board._id}/catalog.html`) [Catalog] + | + a(href=`/${board._id}/banners.html`) [Banners] hr(size=1) if threads.length === 0 p No posts. @@ -21,4 +25,8 @@ block content +catalogtile(board, thread) hr(size=1) nav.pages#bottom - a(href=`/${board._id}/index.html`) [Return] + a(href=`/${board._id}/index.html`) [Index] + | + a.bold(href=`/${board._id}/catalog.html`) [Catalog] + | + a(href=`/${board._id}/banners.html`) [Banners] diff --git a/views/pages/thread.pug b/views/pages/thread.pug index 0bbf61f7..f8b6b77a 100644 --- a/views/pages/thread.pug +++ b/views/pages/thread.pug @@ -23,9 +23,11 @@ block content include ../includes/stickynav.pug .anchor#top nav.pages - a(href=`/${board._id}/index.html`) [Return] - | + a(href=`/${board._id}/index.html`) [Index] + | a(href=`/${board._id}/catalog.html`) [Catalog] + | + a(href=`/${board._id}/banners.html`) [Banners] hr(size=1) form(action=`/forms/board/${board._id}/actions` method='POST' enctype='application/x-www-form-urlencoded') section.thread @@ -34,8 +36,10 @@ block content +post(post) hr(size=1) nav.pages#bottom - a(href=`/${board._id}/index.html`) [Return] + a(href=`/${board._id}/index.html`) [Index] | a(href=`/${board._id}/catalog.html`) [Catalog] + | + a(href=`/${board._id}/banners.html`) [Banners] br include ../includes/actionfooter.pug