mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
909 B
19 lines
909 B
meta(charset='utf-8')
|
|
meta(name='viewport' content='width=device-width initial-scale=1')
|
|
- const isBoard = board != null;
|
|
if isBoard
|
|
if board.settings.description
|
|
meta(name='description' content=board.settings.description)
|
|
if board.settings.tags
|
|
meta(name='keywords' content=board.settings.tags.join(','))
|
|
noscript
|
|
style .jsonly { display: none!important; }
|
|
link(rel='stylesheet' href=`/css/style.css?v=${commit}`)
|
|
- const theme = isBoard ? board.settings.theme : defaultTheme;
|
|
- const codeTheme = isBoard ? board.settings.codeTheme : defaultCodeTheme;
|
|
link#theme(rel='stylesheet' data-theme=theme href=`/css/themes/${theme}.css`)
|
|
if isBoard && board.settings.customCss
|
|
style #{board.settings.customCss}
|
|
link#codetheme(rel='stylesheet' data-theme=codeTheme href=`/css/codethemes/${codeTheme}.css`)
|
|
link(rel='shortcut icon' href='/favicon.ico' type='image/x-icon')
|
|
script(src=`/js/all.js?v=${commit}`)
|
|
|