doctype html html(lang=config.language data-theme=theme.display_mode class=htmlClassHideAside) head style. :root { --theme-color: #{page.theme_color || theme.highlight_text_color || "#e5a80d"}; } include ./head.pug body if theme.preloader.enable !=partial('includes/loading/index', {}, {cache: true})
if theme.background #an_music_bg 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(style=getBgPath(theme.background)) !=partial('includes/sidebar', {}, {cache: true})
#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