mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-03 22:22:00 +08:00
feat: 不再支持 butterfly.yml 寫法
improvement: 文章頁標題改為h1(seo) improvement: 改用hexo 內置的 injector 插入 inject 的代碼 improvement: canonical 改為hexo提供的函數生成 improvement: 優化手機toc 的特效和按鈕出現的時機 remove: 刪除搜索不必要的配置 remove: 移除豆瓣配置,如需配置,請使用 hexo-butterfly-douban fix: 修復上一個版本導致的搜索按鈕在pjax下無法點擊的bugs close #387 fix: 修復上一個版本更新的toc z-index 過低的bugs
This commit is contained in:
1 parent
83b7232841
commit
8014ddb65e
34 files changed
+74
-107
No files matched your search
+3
-18
@@ -53,17 +53,9 @@ algolia_search:
|
|||||||
hits:
|
hits:
|
||||||
per_page: 6
|
per_page: 6
|
||||||
|
|
||||||
labels:
|
|
||||||
input_placeholder: Search for Posts
|
|
||||||
hits_empty: "We didn't find any results for the search: ${query}" # if there are no result
|
|
||||||
hits_stats: '${hits} results found in ${time} ms'
|
|
||||||
|
|
||||||
# Local search
|
# Local search
|
||||||
local_search:
|
local_search:
|
||||||
enable: false
|
enable: false
|
||||||
labels:
|
|
||||||
input_placeholder: Search for Posts
|
|
||||||
hits_empty: "We didn't find any results for the search: ${query}" # if there are no result
|
|
||||||
|
|
||||||
# Math (數學)
|
# Math (數學)
|
||||||
# --------------------------------------
|
# --------------------------------------
|
||||||
@@ -121,13 +113,6 @@ category_img:
|
|||||||
# - category name: xxxxx
|
# - category name: xxxxx
|
||||||
category_per_img:
|
category_per_img:
|
||||||
|
|
||||||
# If you are using hexo-douban, you can configure it (如果你有使用 hexo-douban,可配置這個)
|
|
||||||
# douban:
|
|
||||||
# meta: false
|
|
||||||
# movies_img:
|
|
||||||
# books_img:
|
|
||||||
# games_img:
|
|
||||||
|
|
||||||
cover:
|
cover:
|
||||||
# display the cover or not (是否顯示文章封面)
|
# display the cover or not (是否顯示文章封面)
|
||||||
index_enable: true
|
index_enable: true
|
||||||
@@ -576,9 +561,9 @@ font:
|
|||||||
|
|
||||||
# Font settings for the site title and site subtitle
|
# Font settings for the site title and site subtitle
|
||||||
# 左上角網站名字 主頁居中網站名字
|
# 左上角網站名字 主頁居中網站名字
|
||||||
# blog_title_font:
|
blog_title_font:
|
||||||
# font_link: https://fonts.googleapis.com/css?family=Titillium+Web&display=swap
|
font_link:
|
||||||
# font-family: Titillium Web, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif
|
font-family:
|
||||||
|
|
||||||
# The setting of divider icon (水平分隔線圖標設置)
|
# The setting of divider icon (水平分隔線圖標設置)
|
||||||
hr_icon:
|
hr_icon:
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ aside:
|
|||||||
site_pv_name: PV
|
site_pv_name: PV
|
||||||
more_button: More
|
more_button: More
|
||||||
card_newest_comments:
|
card_newest_comments:
|
||||||
heading: Newest Comments
|
headline: Newest Comments
|
||||||
loading_text: loading...
|
loading_text: loading...
|
||||||
error: Unable to get the data, please make sure the settings are correct.
|
error: Unable to get the data, please make sure the settings are correct.
|
||||||
card_toc: Catalog
|
card_toc: Catalog
|
||||||
|
|||||||
+1
-1
@@ -71,7 +71,7 @@ aside:
|
|||||||
site_pv_name: PV
|
site_pv_name: PV
|
||||||
more_button: More
|
more_button: More
|
||||||
card_newest_comments:
|
card_newest_comments:
|
||||||
heading: Newest Comments
|
headline: Newest Comments
|
||||||
loading_text: loading...
|
loading_text: loading...
|
||||||
error: Unable to get the data, please make sure the settings are correct.
|
error: Unable to get the data, please make sure the settings are correct.
|
||||||
card_toc: Catalog
|
card_toc: Catalog
|
||||||
|
|||||||
Loaded 3 of 34 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user