feat: 不再支持 butterfly.yml 寫法

improvement: 文章頁標題改為h1(seo)
improvement: 改用hexo 內置的 injector 插入 inject 的代碼
improvement: canonical 改為hexo提供的函數生成
improvement: 優化手機toc 的特效和按鈕出現的時機
remove: 刪除搜索不必要的配置
remove: 移除豆瓣配置,如需配置,請使用 hexo-butterfly-douban
fix: 修復上一個版本導致的搜索按鈕在pjax下無法點擊的bugs close #387
fix: 修復上一個版本更新的toc z-index 過低的bugs
This commit is contained in:
Jerry
2020-10-15 00:14:38 +08:00
Unverified
parent 83b7232841
commit 8014ddb65e
34 changed files with 80 additions and 113 deletions

View File

@@ -269,15 +269,11 @@
position: fixed
right: 45px
bottom: 30px
z-index: 9999
z-index: 100
display: none
width: 300px
transform-origin: right bottom
animation: toc-close .3s
&.open
display: block
animation: toc-open .3s
animation: toc-open .3s
.toc-child
display: block !important
@@ -327,7 +323,7 @@
@keyframes toc-close
0%
transform: scale(.7)
transform: scale(1)
100%
transform: scale(1)
transform: scale(.7)