Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryc127 committed Oct 9, 2023
2 parents c90b00f + 7923a15 commit 805afb2
Show file tree
Hide file tree
Showing 88 changed files with 1,590 additions and 1,326 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

![](https://cdn.jsdelivr.net/gh/jerryc127/CDN@m2/img/theme-butterfly-readme.png)

Demo: 👍 [Butterfly](https://butterfly.js.org/) || 🤞 [CrazyWong](https://blog.crazywong.com/)
📢 Demo: [Butterfly](https://butterfly.js.org/) || [CrazyWong](https://blog.crazywong.com/)

Docs: 📖 [Butterfly Docs](https://butterfly.js.org/posts/21cfbf15/)
📖 Docs: [English](https://butterfly.js.org/en/posts/butterfly-docs-en-get-started/) || [Chinese](https://butterfly.js.org/posts/21cfbf15/)

Based on [hexo-theme-melody](https://github.com/Molunerfinn/hexo-theme-melody) theme.

Expand Down Expand Up @@ -76,7 +76,7 @@ npm i hexo-theme-butterfly
- [x] WordCount
- [x] Related articles
- [x] Displays outdated notice for a post
- [x] Share (AddThis/Sharejs/Addtoany)
- [x] Share (Sharejs/Addtoany)
- [X] Comment (Disqus/Disqusjs/Livere/Gitalk/Valine/Waline/Utterances/Facebook Comments/Twikoo/Giscus/Remark42/artalk)
- [x] Multiple Comment System Support
- [x] Online Chats (Chatra/Tidio/Daovoice/Crisp/messenger)
Expand Down
6 changes: 3 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

![](https://cdn.jsdelivr.net/gh/jerryc127/CDN@m2/img/theme-butterfly-readme.png)

預覽: 👍 [Butterfly](https://butterfly.js.org/) || 🤞 [CrazyWong](https://blog.crazywong.com/)
📢 預覽: [Butterfly](https://butterfly.js.org/) || [CrazyWong](https://blog.crazywong.com/)

文檔: 📖 [Butterfly Docs](https://butterfly.js.org/posts/21cfbf15/)
📖 文檔: [中文](https://butterfly.js.org/posts/21cfbf15/) || [English](https://butterfly.js.org/en/posts/butterfly-docs-en-get-started/)

一款基於[hexo-theme-melody](https://github.com/Molunerfinn/hexo-theme-melody)修改的主題

Expand Down Expand Up @@ -76,7 +76,7 @@ theme: butterfly
- [x] 顯示字數統計
- [x] 顯示相關文章
- [x] 過期文章提醒
- [x] 多種分享系統(AddThis/Sharejs/Addtoany)
- [x] 多種分享系統(Sharejs/Addtoany)
- [X] 多種評論系統(Disqus/Disqusjs/Livere/Gitalk/Valine/Waline/Utterances/Facebook Comments/Twikoo/Giscus/Remark42/artalk)
- [x] 支持雙評論部署
- [x] 多種在線聊天(Chatra/Tidio/Daovoice/Crisp/messenger)
Expand Down
119 changes: 63 additions & 56 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,10 @@ index_post_content:

# anchor
anchor:
button:
enable: false
always_show: false
icon: # the unicode value of Font Awesome icon, such as '\3423'
auto_update: false # when you scroll in post, the URL will update according to header id.
# when you scroll, the URL will update according to header id.
auto_update: false
# Click the headline to scroll and update the anchor
click_to_scroll: false

# figcaption (圖片描述文字)
photofigcaption: false
Expand Down Expand Up @@ -164,6 +163,7 @@ post_copyright:
# Sponsor/reward
reward:
enable: false
text:
QR_code:
# - img: /img/wechat.jpg
# link:
Expand Down Expand Up @@ -264,6 +264,10 @@ aside:
post_count: true
last_push_date: true
sort_order: # Don't modify the setting unless you know how it works
card_post_series:
enable: true
orderBy: 'date' # Order by title or date
order: -1 # Sort of order. 1, asc for ascending; -1, desc for descending

# busuanzi count for PV / UV in site
# 訪問人數
Expand Down Expand Up @@ -381,12 +385,6 @@ docsearch:
# Share System (分享)
# --------------------------------------

# AddThis
# https://www.addthis.com/
addThis:
enable: false
pubid:

# Share.js
# https://github.com/overtrue/share.js
sharejs:
Expand Down Expand Up @@ -637,6 +635,9 @@ index_top_img_height:
category_ui: # 留空或 index
tag_ui: # 留空或 index

# Stretches the lines so that each line has equal width(文字向兩側對齊,對最後一行無效)
text_align_justify: false

# Website Background (設置網站背景)
# can set it to color or image (可設置圖片 或者 顔色)
# The formal of image: url(http://xxxxxx.com/xxx.jpg)
Expand All @@ -651,7 +652,7 @@ mask:
footer: true

# the position of bottom right button/default unit: px (右下角按鈕距離底部的距離/默認單位為px)
rightside-bottom:
rightside_bottom:

# Enter transitions (開啓網頁進入效果)
enter_transitions: true
Expand Down Expand Up @@ -704,7 +705,7 @@ click_heart:
mobile: false

# Mouse click effects: words (鼠標點擊效果: 文字)
ClickShowText:
clickShowText:
enable: false
text:
# - I
Expand Down Expand Up @@ -796,6 +797,13 @@ fancybox: true
# Tag Plugins settings (標籤外掛)
# --------------------------------------

# series (系列文章)
series:
enable: true
orderBy: 'title' # Order by title or date
order: 1 # Sort of order. 1, asc for ascending; -1, desc for descending
number: true

# abcjs (樂譜渲染)
# See https://github.com/paulrosen/abcjs
abcjs:
Expand Down Expand Up @@ -928,59 +936,58 @@ CDN:
custom_format:

option:
# main_css:
# main:
# utils:
# translate:
# local_search:
# abcjs_basic_js:
# activate_power_mode:
# algolia_js:
# algolia_search:
# instantsearch:
# docsearch_js:
# docsearch_css:
# pjax:
# gitalk:
# gitalk_css:
# aplayer_css:
# aplayer_js:
# artalk_css:
# artalk_js:
# blueimp_md5:
# valine:
# busuanzi:
# canvas_fluttering_ribbon:
# canvas_nest:
# canvas_ribbon:
# click_heart:
# clickShowText:
# disqusjs:
# disqusjs_css:
# twikoo:
# waline_js:
# waline_css:
# docsearch_css:
# docsearch_js:
# egjs_infinitegrid:
# fancybox:
# fancybox_css:
# fireworks:
# fontawesome:
# gitalk:
# gitalk_css:
# giscus:
# sharejs:
# sharejs_css:
# mathjax:
# instantpage:
# instantsearch:
# katex:
# katex_copytex:
# mermaid:
# canvas_ribbon:
# canvas_fluttering_ribbon:
# canvas_nest:
# lazyload:
# instantpage:
# typed:
# pangu:
# fancybox_css:
# fancybox:
# local_search:
# main:
# main_css:
# mathjax:
# medium_zoom:
# snackbar_css:
# snackbar:
# activate_power_mode:
# fireworks:
# click_heart:
# ClickShowText:
# fontawesome:
# flickr_justified_gallery_js:
# flickr_justified_gallery_css:
# aplayer_css:
# aplayer_js:
# mermaid:
# meting_js:
# pangu:
# prismjs_autoloader:
# prismjs_js:
# prismjs_lineNumber_js:
# prismjs_autoloader:
# artalk_js:
# artalk_css:
# busuanzi:
# abcjs_basic_js:
# pjax:
# sharejs:
# sharejs_css:
# snackbar:
# snackbar_css:
# translate:
# twikoo:
# typed:
# utils:
# valine:
# waline_css:
# waline_js:
52 changes: 26 additions & 26 deletions languages/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ footer:
theme: Theme

copy:
success: Copy successfully
error: Copy error
noSupport: The browser does not support
success: Copy Successful
error: Copy Error
noSupport: Browser Not Supported

page:
articles: Articles
Expand All @@ -15,16 +15,15 @@ page:

card_post_count: comments

sticky: Sticky
no_title: No title
no_title: Untitled

post:
created: Created
updated: Updated
wordcount: Word count
min2read: Reading time
min2read_unit: min
page_pv: Post View
wordcount: Word Count
min2read: Reading Time
min2read_unit: mins
page_pv: Post Views
comments: Comments
copyright:
author: Author
Expand All @@ -48,8 +47,8 @@ search:
hits_stats: '${hits} results found'

pagination:
prev: Previous Post
next: Next Post
prev: Previous
next: Next

comment: Comment

Expand All @@ -66,32 +65,33 @@ aside:
headline: Info
article_name: Article
runtime:
name: Run time
name: Runtime
unit: days
last_push_date:
name: Last Push
name: Last Update
site_wordcount: Total Count
site_uv_name: UV
site_pv_name: PV
more_button: More
more_button: View More
card_newest_comments:
headline: Newest Comments
headline: Latest Comments
loading_text: loading...
error: Unable to get the data, please make sure the settings are correct.
zero: No Comment
error: Unable to retrieve comments, please check the configuration
zero: No comments
image: image
link: link
code: code
card_toc: Catalog
card_toc: Contents
card_post_series: Series

date_suffix:
just: Just
just: Just now
min: minutes ago
hour: hours ago
day: days ago
month: months ago

donate: Donate
donate: Sponsor
share: Share

rightside:
Expand All @@ -102,7 +102,7 @@ rightside:
toc: Table Of Contents
scroll_to_comment: Scroll To Comments
setting: Setting
aside: Toggle between single-column and double-column
aside: Toggle between Single-column and Double-column
chat: Chat

copy_copyright:
Expand All @@ -112,12 +112,12 @@ copy_copyright:
info: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.

Snackbar:
chs_to_cht: Traditional Chinese Activated Manually
cht_to_chs: Simplified Chinese Activated Manually
day_to_night: Dark Mode Activated Manually
night_to_day: Light Mode Activated Manually
chs_to_cht: You have switched to Traditional Chinese
cht_to_chs: You have switched to Simplified Chinese
day_to_night: You have switched to Dark Mode
night_to_day: You have switched to Light Mode

loading: Loading...
load_more: Load More

error404: Page not found
error404: Page Not Found
Loading

0 comments on commit 805afb2

Please sign in to comment.