This commit is contained in:
Jerry committed 2023-10-09 19:54:18 +08:00
1 parent 0d40e75589
commit 7923a15e17
8 files changed
+37 -29

No files matched your search

+6 -2
View File
@@ -163,6 +163,7 @@ post_copyright:
# Sponsor/reward # Sponsor/reward
reward: reward:
enable: false enable: false
text:
QR_code: QR_code:
# - img: /img/wechat.jpg # - img: /img/wechat.jpg
# link: # link:
@@ -634,6 +635,9 @@ index_top_img_height:
category_ui: # 留空或 index category_ui: # 留空或 index
tag_ui: # 留空或 index tag_ui: # 留空或 index
# Stretches the lines so that each line has equal width(文字向兩側對齊,對最後一行無效)
text_align_justify: false
# Website Background (設置網站背景) # Website Background (設置網站背景)
# can set it to color or image (可設置圖片 或者 顔色) # can set it to color or image (可設置圖片 或者 顔色)
# The formal of image: url(http://xxxxxx.com/xxx.jpg) # The formal of image: url(http://xxxxxx.com/xxx.jpg)
@@ -701,7 +705,7 @@ click_heart:
mobile: false mobile: false
# Mouse click effects: words (鼠標點擊效果: 文字) # Mouse click effects: words (鼠標點擊效果: 文字)
ClickShowText: clickShowText:
enable: false enable: false
text: text:
# - I # - I
@@ -946,7 +950,7 @@ CDN:
# canvas_nest: # canvas_nest:
# canvas_ribbon: # canvas_ribbon:
# click_heart: # click_heart:
# ClickShowText: # clickShowText:
# disqusjs: # disqusjs:
# disqusjs_css: # disqusjs_css:
# docsearch_css: # docsearch_css:
+6 -6
View File
@@ -24,12 +24,12 @@ if theme.activate_power_mode.enable
if theme.click_heart && theme.click_heart.enable if theme.click_heart && theme.click_heart.enable
script#click-heart(src=url_for(theme.asset.click_heart) async mobile=`${theme.click_heart.mobile}`) script#click-heart(src=url_for(theme.asset.click_heart) async mobile=`${theme.click_heart.mobile}`)
if theme.ClickShowText && theme.ClickShowText.enable if theme.clickShowText && theme.clickShowText.enable
script#click-show-text( script#click-show-text(
src= url_for(theme.asset.ClickShowText) src= url_for(theme.asset.clickShowText)
data-mobile= `${theme.ClickShowText.mobile}` data-mobile= `${theme.clickShowText.mobile}`
data-text= theme.ClickShowText.text.join(",") data-text= theme.clickShowText.text.join(",")
data-fontsize= theme.ClickShowText.fontSize data-fontsize= theme.clickShowText.fontSize
data-random= `${theme.ClickShowText.random}` data-random= `${theme.clickShowText.random}`
async async
) )
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "hexo-theme-butterfly", "name": "hexo-theme-butterfly",
"version": "4.10.0-b3", "version": "4.10.0",
"description": "A Simple and Card UI Design theme for Hexo", "description": "A Simple and Card UI Design theme for Hexo",
"main": "package.json", "main": "package.json",
"scripts": { "scripts": {
Loaded 3 of 8 files, more files were not shown because too many files have changed in this diff. Show more