breaking changes: 移除 subtitle 一句網調用(api 已失效)

feat: 右下角按鈕增加預覽進度顯示
feat: toc可設置是否顯示預覽進度
fix: 修復 TypeError: require(...) is not a function 的報錯 #1102
improvement: 日期設置相對日期時,文章的日期格式和最新評論的日期格式統一為 年月日
This commit is contained in:
Jerry
2022-11-18 18:30:25 +08:00
parent 5c0d578e4c
commit f218a0a14a
10 changed files with 83 additions and 71 deletions

View File

@@ -185,6 +185,7 @@ toc:
number: true
expand: false
style_simple: false # for post
scroll_percent: true
post_copyright:
enable: true
@@ -632,8 +633,7 @@ subtitle:
# source 調用第三方服務
# source: false 關閉調用
# source: 1 調用一言網的一句話(簡體) https://hitokoto.cn/
# source: 2 調用一句網(簡體) http://yijuzhan.com/
# source: 3 調用今日詩詞(簡體) https://www.jinrishici.com/
# source: 2 調用今日詩詞(簡體) https://www.jinrishici.com/
# subtitle 會先顯示 source , 再顯示 sub 的內容
source: false
# 如果關閉打字效果subtitle 只會顯示 sub 的第一行文字
@@ -753,6 +753,9 @@ darkmode:
# autoChangeMode: false
autoChangeMode: false
# show scroll percent in scroll-to-top button
rightside_scroll_percent: false
# Don't modify the following settings unless you know how they work (非必要請不要修改 )
# Choose: readmode,translate,darkmode,hideAside,toc,chat,comment
# Don't repeat 不要重複
@@ -894,7 +897,7 @@ CDN:
# when set it to local, you need to install hexo-butterfly-extjs
third_party_provider: jsdelivr
# Add version number to CDN, true or false
# Add version number to CDN, true or false
version: false
# Custom format
@@ -952,4 +955,4 @@ CDN:
# prismjs_lineNumber_js:
# prismjs_autoloader:
# artalk_js:
# artalk_css:
# artalk_css: