mirror of https://gitgud.io/fatchan/jschan.git
parent
44e05e6220
commit
2de229337b
18 changed files with 153 additions and 85 deletions
@ -1,6 +1,6 @@ |
||||
section.board-header |
||||
if board.banners.length > 0 |
||||
object.board-banner(data=`/banners?board=${board._id}` width='300' height='100') |
||||
a.no-decoration(href=`/${board._id}`) |
||||
a.no-decoration(href=`/${board._id}/`) |
||||
h1.board-title /#{board._id}/ - #{board.name} |
||||
h4.board-description #{board.description} |
||||
|
@ -1,4 +1,4 @@ |
||||
meta(charset='utf-8') |
||||
meta(name='viewport', content='width=device-width, initial-scale=1') |
||||
link(rel='stylesheet' href='/css/style.css') |
||||
link(rel='shortcut icon' href='/img/favicon.ico' type='image/x-icon') |
||||
link(rel='shortcut icon' href='/favicon.ico' type='image/x-icon') |
||||
|
@ -1,8 +1,7 @@ |
||||
nav.pages Page: |
||||
- for(let i = 1; i <= pages; i++) |
||||
if i === page |
||||
span: a(href=`/${board._id}?p=${i}`) [#{i}] |
||||
else |
||||
span: a(href=`/${board._id}?p=${i}`) #{i} |
||||
| | |
||||
a(href=`/${board._id}/catalog`) [Catalog] |
||||
| Page: |
||||
- for(let i = 1; i <= pages; i++) |
||||
if i === page |
||||
span: a(href=`/${board._id}?p=${i}`) [#{i}] |
||||
else |
||||
span: a(href=`/${board._id}?p=${i}`) #{i} |
||||
| | |
||||
|
Loading…
Reference in new issue