mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-03 19:07:56 +09:00
54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
- page.type = is_home() ? 'solitude' : page.type
|
|
|
|
doctype html
|
|
html(lang=config.language, data-theme="light")
|
|
head
|
|
include ./head.pug
|
|
body#body(data-type=page.type)
|
|
// universe
|
|
if theme.display_mode.universe
|
|
canvas#universe
|
|
|
|
// loading
|
|
if theme.loading.fullpage
|
|
include ./loading.pug
|
|
|
|
// console
|
|
include ./console.pug
|
|
|
|
// sidebar
|
|
include ./sidebar.pug
|
|
|
|
// keyboard
|
|
if theme.keyboard.enable
|
|
include ./keyboard.pug
|
|
|
|
#body-wrap(class = is_post() ? 'post' : 'page')
|
|
include ./header.pug
|
|
|
|
if(page.type !== '404')
|
|
block content
|
|
|
|
footer#footer
|
|
include ./footer.pug
|
|
else
|
|
.error#body-wrap
|
|
block content
|
|
|
|
// right_menu
|
|
if theme.right_menu.enable
|
|
include rightmenu
|
|
|
|
// inject body
|
|
include ./inject/body.pug
|
|
|
|
// search
|
|
include ./widgets/third-party/search/index.pug
|
|
|
|
// Tianli-Talk
|
|
if theme.tianli_talk.enable
|
|
include ./widgets/third-party/tianli-talk.pug
|
|
|
|
// music
|
|
if theme.capsule.enable
|
|
include ./widgets/third-party/music.pug |