github jerryc127/hexo-theme-butterfly 5.4.0

latest releases: 5.4.3, 5.4.2, 5.4.1...
2 months ago

Full Changelog: 5.3.5...5.4.0

新功能

  1. 更新 plugins.yml 中的依賴版本至最新
  2. 適配 Fancybox v6
  3. 新增導航欄文章標題顯示配置選項
  4. 文章頁導航欄增加滑鼠懸停顯示返回主頁提示
  5. 新增 Google Tag Manager 配置支援
  6. 新增右側配置按鈕動畫效果,更新相關配置和模板邏輯
  7. 更新頁腳配置,新增導航欄和版權信息,改進樣式和結構

修復

  1. 修正 truncateContent 函數以正確處理空內容
  2. 修復 card_archives 計數錯誤
  3. 修正分頁順序邏輯
  4. 修正 getBgPath 函數,使用 this.url_for 獲取背景圖片的正確路徑

優化

  1. 當 per_page 為 0 時,頁面不顯示導航欄
  2. 優化 truncateContent 函數,加密文章不顯示自動截取內容
  3. 新增首頁樣式以支援單詞換行

New Features

  1. Update dependency versions to latest in plugins.yml
  2. Support for Fancybox v6
  3. Add configuration option to display article title in navigation bar
  4. Add hover tooltip to show "Back to Home" text in article page navigation bar
  5. Add Google Tag Manager configuration support
  6. Add animation effects for right-side configuration button, update related configurations and template logic
  7. Update footer configuration, add navigation bar and copyright information, improve styles and structure

Bug Fixes

  1. Fix truncateContent function to properly handle empty content
  2. Fix card_archives counting bug
  3. Fix pagination order logic
  4. Fix getBgPath function to use this.url_for for correct background image path

Improvements

  1. Hide navigation bar when per_page is set to 0
  2. Optimize truncateContent function, encrypted articles do not show auto-truncated content
  3. Add homepage styles to support word wrapping

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

NewReleases is sending notifications on new releases.