🏷️ 更新至3.0.0-RC-1 close #189, close #192, close #223, close #224, close #229, close 232, close #240

This commit is contained in:
Jerry
2020-06-16 18:37:22 +08:00
parent 0ad2c01fc9
commit aa8c509b96
93 changed files with 2109 additions and 1648 deletions

View File

@@ -1,4 +1,6 @@
- var hideAside = !theme.aside.enable || page.aside === false ? 'hide-aside' : ''
- var pageHighlightShrinkSet = page.highlight_shrink !== undefined ? page.highlight_shrink : theme.highlight_shrink
- var pageHighlightShrink = theme.highlight_shrink !== 'none' && pageHighlightShrinkSet ? 'code-close' : ''
doctype html
html(lang=config.language data-theme=theme.display_mode)
@@ -15,10 +17,11 @@ html(lang=config.language data-theme=theme.display_mode)
include ./sidebar.pug
#body-wrap
#body-wrap(class=pageHighlightShrink)
if theme.background
- var is_photo = theme.background.substring(3,0) === 'url' ? 'photo':'color'
- var is_photo = theme.background.startsWith('url') ? 'photo':'color'
#web_bg(data-type=is_photo)
include ./header/index.pug
if (!is_post())