mirror of https://gitgud.io/fatchan/jschan.git
parent
8b5c88332c
commit
1d1f42f94d
13 changed files with 52 additions and 22 deletions
@ -0,0 +1,6 @@ |
|||||||
|
'use strict'; |
||||||
|
|
||||||
|
module.exports = (req, res, next) => { |
||||||
|
res.locals.minimal = true; |
||||||
|
next(); |
||||||
|
} |
@ -1,9 +1,10 @@ |
|||||||
small.footer#bottom |
unless minimal |
||||||
| - |
small.footer#bottom |
||||||
a(href='/rules.html') rules |
| - |
||||||
| - |
a(href='/rules.html') rules |
||||||
a(href='/faq.html') faq |
| - |
||||||
| - |
a(href='/faq.html') faq |
||||||
a(href='https://github.com/fatchan/jschan/') source code |
| - |
||||||
| - |
a(href='https://github.com/fatchan/jschan/') source code |
||||||
|
| - |
||||||
script(src='/js/render.js') |
script(src='/js/render.js') |
||||||
|
@ -1,8 +1,9 @@ |
|||||||
nav.navbar |
unless minimal |
||||||
a.nav-item(href='/index.html') Home |
nav.navbar |
||||||
a.nav-item(href='/news.html') News |
a.nav-item(href='/index.html') Home |
||||||
a.nav-item(href='/boards.html') Boards |
a.nav-item(href='/news.html') News |
||||||
a.nav-item(href='/account.html') Account |
a.nav-item(href='/boards.html') Boards |
||||||
if board |
a.nav-item(href='/account.html') Account |
||||||
a.nav-item(href=`/${board._id}/manage/reports.html`) Manage |
if board |
||||||
a.jsonly.nav-item.right#settings |
a.nav-item(href=`/${board._id}/manage/reports.html`) Manage |
||||||
|
a.jsonly.nav-item.right#settings |
||||||
|
Loading…
Reference in new issue