doctype html html(lang=config.language data-theme=theme.display_mode class=htmlClassHideAside) head include ./head.pug body !=partial('includes/loading/index', {}, {cache: true})
if theme.background #web_bg if theme.background.default style. /* PC 白天 */ #web_bg { background: url('#{theme.background.default}') !important; background-attachment: local !important; background-position: center !important; background-size: cover !important; background-repeat: no-repeat !important; }
/* PC 夜间 */ [data-theme="dark"] #web_bg { background: url('#{theme.background.darkmode || theme.background.default}') !important; background-attachment: local !important; background-position: center !important; background-size: cover !important; background-repeat: no-repeat !important; }
#body-wrap(class=pageType) include ./header/index.pug
main#content-inner.layout(class=hideAside) if body div!= body else block content if theme.aside.enable && page.aside !== false include widget/index.pug