fix: 修復上個版本導致的代碼塊部分css沒有生成的bugs

fix: 修復valine背景圖片再次出現時,由左到右移動的bugs
improvement: 調大sidebar的寬度
improvement: html結構調整,mobile-sidebar改為sidebar/search調整
remove: 刪除多餘的css和pug
This commit is contained in:
Jerry committed 2020-10-20 21:05:58 +08:00
1 parent 71b15d86c1
commit c54f23bc14
28 files changed
+364 -361

No files matched your search

-1
View File
@@ -25,5 +25,4 @@ html(lang=config.language data-theme=theme.display_mode)
i.fas.fa-rocket
= _p('error404.back_button')
!=partial('includes/third-party/search/index', {}, {cache:theme.fragment_cache})
include includes/additional-js.pug
+2 -2
View File
@@ -14,10 +14,10 @@
span= _p('footer.theme') + ' '
a(href='https://github.com/jerryc127/hexo-theme-butterfly')= 'Butterfly'
if theme.footer.custom_text
.footer_custom_text!=`${theme.footer.custom_text}`
.footer_custom_text!=`${theme.footer.custom_text}`
if theme.footer.ICP.enable
.icp
a(href=theme.footer.ICP.url)
if theme.footer.ICP.icon
img.icp-icon(src=url_for(theme.footer.ICP.icon) alt='icp')
img.icp-icon(src=url_for(theme.footer.ICP.icon) alt='ICP')
span=theme.footer.ICP.text
+1 -1
View File
@@ -11,7 +11,7 @@ html(lang=config.language data-theme=theme.display_mode)
if theme.background
#web_bg
!=partial('includes/mobile-sidebar/index', {}, {cache:theme.fragment_cache})
!=partial('includes/sidebar', {}, {cache:theme.fragment_cache})
#body-wrap
include ./header/index.pug
Loaded 3 of 28 files, more files were not shown because too many files have changed in this diff. Show more