label: 3.2.0

fix: 修復當hexo的_config沒有設置description時,會導致pjax在頁面與文章間切換會無效 close #381
improvement: 當隱藏部分沒配置時,左下角設置按鈕會消失 #353
improvement: 網站背景可配置 (顏色(HEX值/RGB值/顔色單詞/漸變色)/漸變色/圖片鏈接)
improvement: 夜間模式下,背景顔色/top-img/footer-bg 設置為顔色時,不再強制顯示黑色,而是改為遮罩降低亮度
This commit is contained in:
Jerry
2020-09-28 21:55:47 +08:00
Unverified
parent d5670e25e4
commit de11040293
11 changed files with 86 additions and 95 deletions

View File

@@ -12,8 +12,7 @@ html(lang=config.language data-theme=theme.display_mode)
#body-wrap
if theme.background
- var is_photo = theme.background.startsWith('url') ? 'photo':'color'
#web_bg(data-type=is_photo)
#web_bg
include ./sidebar.pug
include ./header/index.pug