doctype html html(lang=config.language data-theme=theme.display_mode class=htmlClassHideAside) head include ./head.pug body if theme.preloader.enable !=partial('includes/loading/loading', {}, {cache: true})
- var DefaultBg = page.defaultbg ? page.defaultbg : theme.background.default - var DDMBg = theme.background.darkmode ? theme.background.darkmode : DefaultBg - var DarkmodeBg = page.darkmodebg ? page.darkmodebg : DDMBg if theme.background if page.background #web_bg(style=`background:`+ page.background + `;background-attachment: local;background-position: center;background-size: cover;background-repeat: no-repeat;`) else #web_bg
if page.type !== '404' #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
- var footerBg = theme.footer_bg if !is_post() if (footerBg === true) - var footer_bg = 'background-color: transparent;' else - var footer_bg = 'background-color: transparent;' else - var footer_bg = 'background-color: transparent;'
include ./rightside.pug !=partial('includes/third-party/search/index', {}, {cache: true}) !=partial('includes/rightmenu',{}, {cache:true}) include ./additional-js.pug