Breaking Change
-
支持雙評論系統配置/評論配置整理/評論增加lazyload
+comments: + # Up to two comments system, the first will be shown as default + # Choose: Disqus/Disqusjs/Livere/Gitalk/Valine/Utterances/Facebook Comments + use: + # - Valine + # - Disqus + text: true # Display the comment name next to the button + # lazyload: The comment system will be load when comment element enters the browser's viewport. + # If you set it to false, the comment count will be invalid + lazyload: false + count: false # Display comment count in top_img disqus: - enable: false - count: false # dispaly comment count in top_img disqusjs: - enable: false - count: false # dispaly comment count in top_img livere: - enable: false gitalk: - enable: false - count: false # dispaly comment count in top_img valine: - enable: false # if you want use valine,please set this value is true - count: false # dispaly comment count in top_img utterances: - enable: false facebook_comments: - enable: false - count: false
-
footer配置整理,修改部分用語 #279
-since: 2020 -footer_custom_text: -footer_copyright: true -ICP: - enable: false - url: - text: - icon: /img/icp.png +footer: + owner: + enable: true + since: 2020 + custom_text: + copyright: true # Copyright of theme and framework + ICP: # Chinese ICP License + enable: false + url: + text: + icon: /img/icp.png
-
移除‘添加書籤’功能,可執行配置按鈕
aside: card_author: enable: true description: + button: + icon: fab fa-github + text: Follow Me + link: https://github.com/xxxxxx
-
copy的copyright增加字數限制配置,可配置多少字以上才添加版權信息
copy: enable: true - copyright: false + copyright: + enable: false + limit_count: 50
-
aside recent post可設置按發表時間或者更新時間排序
aside: card_recent_post: enable: true limit: 5 # if set 0 will show all + sort: date # date or updated
-
更換typed.js/meting CDN
-typed: https://cdn.jsdelivr.net/npm/typed.js -meting_js: https://cdn.jsdelivr.net/npm/meting@1.2.0/dist/Meting.min.js +typed: https://cdn.jsdelivr.net/npm/typed.js/lib/typed.min.js +meting_js: https://cdn.jsdelivr.net/gh/metowolf/MetingJS@1.2/dist/Meting.min.js
Feature
-
增加文章過期提醒
+# Displays outdated notice for a post (文章過期提醒) +noticeOutdate: + enable: false + style: flat # style: simple/flat + limit_day: 500 # When will it be shown + position: top # position: top/bottom + message_prev: It has been + message_next: days since the last update, the content of the article may be outdated.
-
增加mac light 代碼框配色
-
文章copyright 可單獨配置
-
card-category 中category名稱和數字限制一行顯示
-
簡繁轉換優化,placeholder也會被轉換
-
引入css變數,減少css體積
-
新增 Pjax #234
+# Pjax [Beta] +# It may contain bugs and unstable, give feedback when you find the bugs. +# https://github.com/MoOx/pjax +pjax: false
-
添加第三方chat服務 crisp
+# crisp +# https://crisp.chat/en/ +crisp: + enable: false + website_id:
-
谷歌廣告增加自動廣告配置,減少不必要的js加載
google_adsense: enable: false + auto_ads: true js: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js client: enable_page_level_ads: true
-
當post_asset_folder為true時,post的top_img和cover可直接引用同名文件夾下的圖片,只需要寫圖片名字和後綴就行 #270
-
增加Yandex Webmaster tools verification配置
+# Yandex Webmaster tools verification setting +# see https://webmaster.yandex.com/ +yandex_site_verification:
-
post-meta可以配置是否顯示文字
post_meta: page: # Home Page date_type: created # created or updated or both 主頁文章日期是創建日或者更新日或都顯示 categories: true # true or false 主頁是否顯示分類 tags: false # true or false 主頁是否顯示標籤 + label: true # true or false 顯示描述性文字 post: date_type: both # created or updated or both 文章頁日期是創建日或者更新日或都顯示 categories: true # true or false 文章頁是否顯示分類 tags: true # true or false 文章頁是否顯示標籤 + label: true # true or false 顯示描述性文字
-
手機端post-meta調整顯示/支持顯示分類
-
代碼框滾動條顔色隨代碼主題變化
-
頭像/打賞圖片 增加lazyload
-
提升highlight-tool的加載速度
-
disqus/disqusjs/facebook comments 可隨夜間模式按鈕切換而轉換主題
-
mathjax升級到3 #216
-
pangu.js 只會渲染 body-wrap 區域
-
放大字體和縮小字體 限制在 10px~20px
-
更新谷歌分析代碼(gtag)
-
移除blueimp_md5 js
-blueimp_md5: https://cdn.jsdelivr.net/npm/blueimp-md5/js/md5.min.js
-
夜間模式和閲讀模式微調
Fix
- 修復右下角按鈕被button標籤外掛遮擋的bugs
- 修復開啟photofigcaption後,圖庫會出現界面錯亂的Bugs
- 修復tabs外掛標簽與aplayer插件衝突而異常的bugs
- aplayer的間距調整
- 修復文章front-matter的highlight_shrink和toc為空時,會出現js報錯的bugs
- 修復BUTTON標籤嵌套使用在其他標籤時,生成多了br標籤而導致樣式不同的bugs
- 修復部分設備遇到mobile-sidebar無法滾動的bugs
- 修復文章頁部分元素內文字溢出的Bugs
- 調整當card-category有收縮按鈕時的顯示佈局
- 修復配置PWA參數時,如果網站是子目錄時,會出現加載不到文件的bugs
- 修復hexo douban插件 點擊上/下一頁出現圖片變為null的bugs
- 適配hexo 5.0.0 修復toc點擊不會跳轉的bugs
- 適配hexo 5.0.0 修復toc不會隨著文章而滾動的bugs
- 修復Valine 的requiredFields設置為空 無效的bugs
- 調整手機界面下ol ul li的邊距 #267
- 修復facebook comments 在手機下寬度不是100%的bugs
- 修復share.js 分享的文章圖片都顯示同一張的bugs
- 去除note標籤外掛設為modern時,a標籤的下劃線
- 修正一些不正確的html結構
- 修復fancybox的alt會顯示undefined的bugs
- 修復footer藍色背景下,icp 文字hover 文字變藍看不清的Bug