github jerryc127/hexo-theme-butterfly 5.5.0

18 hours ago

Full Changelog: 5.4.3...5.5.0

新功能 (Features)

  • 改進 lazyload 過濾器,精確處理 img 標籤的 src 屬性
  • 本地搜索增加分頁功能
  • 說說頁面改為分頁導航
  • 右下角按鈕添加效果
  • 支持自定义脚本名称 #1732
  • 增加子目錄項目懸停效果的過渡動畫
  • 優化側邊欄子目錄的顯示效果,添加過渡動畫
  • 添加卡片類別展開動畫效果
  • 適配 Mathjax 4
  • 重構 Algolia 搜索,从 InstantSearch.js 迁移到直接使用 Algoliasearch API 來實現 Algolia 搜索功能
  • 重構配置管理,新增默認配置文件並優化評論系統配置處理
  • 更新 README 和 README_CN 文件,增強內容清晰度與可讀性
  • 更新标签頁样式,增强交互效果并优化动画表现
  • 添加按钮效果样式,增强按钮交互体验
  • 为备份添加备用名称

改進 (Improvements)

  • 整合搜索,減少不必要的代碼冗餘
  • 調整右側滾動百分比顯示邏輯,改善動畫效果
  • 优化 note, button, label 标签外挂的夜间模式,优化文章导航和推荐的夜间模式显示
  • 禁用結構化數據並更新默認配置格式
  • 優化搜索界面樣式和用戶體驗

修復 (Fixes)

  • 增強 Umami Analytics 數據加載和錯誤處理邏輯
  • 搜索確保不會在中間截斷HTML標籤,增強內容切割邏輯
  • 調整最大寬度至60%以改善佈局響應性
  • 增加错误处理以防止Pjax失效 #1734
  • 修复 MD5 函数导致的评论聚合问题 #1718

New Features

  • Improved lazyload filter, precisely handling img tag src attributes
  • Local search adds pagination
  • Shuoshuo page changed to pagination navigation
  • Right bottom button adds effect
  • Support custom script name #1732
  • Add hover transition animation for subdirectory items
  • Optimize sidebar subdirectory display, add transition animation
  • Add card category expansion animation
  • Adapt Mathjax 4
  • Refactor Algolia search, migrate from InstantSearch.js to directly use Algoliasearch API
  • Refactor configuration management, add default configuration file and optimize comment system configuration
  • Update README and README_CN files, enhance content clarity and readability
  • Update tag page style, enhance interaction and optimize animation
  • Add button effect style, enhance button interaction experience
  • Add backup alternate name

Improvements

  • Integrate search, reduce unnecessary code redundancy
  • Adjust right scroll percentage display logic, improve animation effect
  • Optimize night mode for note, button, label tag plugins, optimize night mode display for article navigation and recommendations
  • Disable structured data and update default configuration format
  • Optimize search interface style and user experience

Fixes

  • Enhance Umami Analytics data loading and error handling logic
  • Search ensures no truncation of HTML tags in the middle, enhance content cutting logic
  • Adjust max width to 60% to improve layout responsiveness
  • Add error handling to prevent Pjax failure #1734
  • Fix comment aggregation issue caused by MD5 function #1718

Don't miss a new hexo-theme-butterfly release

NewReleases is sending notifications on new releases.