新功能
- js 加載完才顯示聊天按鈕
- 移除 Pangu
- 添加結構化數據支持
- 添加 avif 到支持的圖片格式列表
- 更新 lazyload 配置,支持原生 lazyload 功能
- 代碼優化
- 優化 pageType 邏輯
- 代碼字體先 fallback 到 monospace 再到中文和 sans-serif
- 更新 plugins.yml 中的依賴版本至最新
- 優化 aside_archives,改進性能和可讀性
- 改善 inlineImg 和 timeline 標籤的文檔,優化時間線邏輯
- 更新 gallery 標籤以支持額外參數,優化圖片顯示邏輯
- 優化隨機封面過濾器邏輯,避免連續重複
- 最新評論限制顯示 1-10 條之間
修復
- 修復 artalk 的最新評論顯示待定或者封禁的評論的 bug
- 修復解密文章後,chartjs 沒有加載的 bug
New Features
- Display chat button only after js is loaded
- Removed Pangu
- Added structured data support
- Added avif to the list of supported image formats
- Updated lazyload configuration to support native lazyload functionality
- Code optimization
- Improved pageType logic
- Fallback to monospace for code font, then to Chinese and sans-serif
- Updated dependency versions in plugins.yml to the latest
- Optimized aside_archives for better performance and readability
- Improved documentation for inlineImg and timeline tags, optimized timeline logic
- Updated gallery tag to support additional parameters, optimized image display logic
- Optimized random cover filter logic to avoid consecutive repeats
- Limited the display of latest comments to between 1-10 items
Fixes
- Fixed the bug where artalk's latest comments showed pending or banned comments
- Fixed the bug where chartjs did not load after decrypting articles