Feature
- beautify 可配置生效於全站還是post頁 #218
beautify:
enable: true
+ field: post # site/post
title-prefix-icon: '\f0c1'
title-prefix-icon-color: '#F47466'
- 更換lazyload js
-lazyload:
- enable: true
+lazyload: true
CDN:
- lazyload: https://cdn.jsdelivr.net/npm/lazysizes@latest/lazysizes.min.js
+ lazyload: https://cdn.jsdelivr.net/npm/lozad/dist/lozad.min.js
- 增加文章anchor配置
+ # anchor
+ # when you scroll in post , the url will update according to header id.
+ anchor: false
Fix
- 修復當menu沒設置圖標時,會報Cannot read property 'trim' of undefined 的bug
- 修復meta description 自動生成文章前200文字時部分沒有轉義的bug
- 修復開啟lazyload後,使用{% asset_img slug [title] %} 無法顯示照片的bug
- 修復tags頁標籤只顯示8個的bug
- 修復當博客root不是'/'時,引用本地圖片會顯示不出的bug
- 修復替換url hash 導致頁面跳動的bug