mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-17 04:40:53 +08:00
✨ 提升highlight-tool的加載速度
✨ 可設置取消谷歌自動廣告代碼加載 🐛 修復pjax下側邊欄分類打開/收縮按鈕 直接跳轉的bugs 🐛 修復代碼塊向右偏移的bugs 🐛 修復子目錄下,404頁面的回到首頁鏈接錯誤的bugs
This commit is contained in:
@@ -24,7 +24,7 @@ hexo.extend.helper.register('aside_categories', function (categories, options) {
|
||||
const categoryDir = this.url_for(config.category_dir)
|
||||
const limit = options.limit === 0 ? categories.length : options.limit
|
||||
const isExpand = options.expand !== 'none'
|
||||
const expandClass = isExpand && options.expand === true ? 'card-category-list-icon expand' : 'card-category-list-icon'
|
||||
const expandClass = isExpand && options.expand === true ? 'expand' : ''
|
||||
|
||||
const buttonLabel = this._p('aside.more_button')
|
||||
const prepareQuery = (parent) => {
|
||||
|
||||
Reference in New Issue
Block a user