diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
index ecbf408..c7a86b3 100644
--- a/.github/ISSUE_TEMPLATE.md
+++ b/.github/ISSUE_TEMPLATE.md
@@ -1,8 +1,15 @@
+
## I want to create a new issue
diff --git a/README.md b/README.md
index 0707089..1a71d2d 100644
--- a/README.md
+++ b/README.md
@@ -1,19 +1,21 @@
# hexo-theme-butterfly
+<<<<<<< HEAD
+=======
+
+>>>>>>> dev
-Demo: https://demo.jerryc.me/
-
-JerryC: https://jerryc.me/
+Demo: 👍 [Butterfly](https://demo.jerryc.me/) || 🤞 [JerryC](https://jerryc.me/)
Based on [hexo-theme-melody](https://github.com/Molunerfinn/hexo-theme-melody) theme.
## Installation
-Stable branch:
+Stable branch [recommend]:
```
git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/Butterfly
diff --git a/README_CN.md b/README_CN.md
index 1ab85d3..408c4b8 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -1,20 +1,21 @@
# hexo-theme-butterfly
+<<<<<<< HEAD
+=======
+
+>>>>>>> dev
-Demo: https://demo.jerryc.me/
-
-JerryC: https://jerryc.me/
-
+Demo: 👍 [Butterfly](https://demo.jerryc.me/) || 🤞 [JerryC](https://jerryc.me/)
一款基於[hexo-theme-melody](https://github.com/Molunerfinn/hexo-theme-melody)修改的主題
## 安裝
-在你的博客根目錄裡
+在你的博客根目錄裡安裝穩定版【推薦】
```
git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/Butterfly
diff --git a/_config.yml b/_config.yml
index 2ae3fc3..29ba263 100644
--- a/_config.yml
+++ b/_config.yml
@@ -67,7 +67,7 @@ algolia_search:
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"
+ hits_stats: '${hits} results found in ${time} ms'
# Local search
# Please see doc for more details: https://docs.jerryc.me/config.html#本地搜索
@@ -155,7 +155,7 @@ lodding_bg:
# A simple 404 page
error_404:
enable: false
- subtitle: "Page Not Found"
+ subtitle: 'Page Not Found'
background:
post_meta:
@@ -221,7 +221,7 @@ addtoany:
disqus:
enable: false
shortname:
- count: false # top_img顯示評論數
+ count: false # dispaly comment count in top_img
# Disqus.js版評論系統,應對大陸長城的折中方案,兼容原版:https://github.com/SukkaW/DisqusJS
# API 申請地址:https://disqus.com/api/applications/
@@ -234,7 +234,7 @@ disqusjs:
api: https://disqus.skk.moe/disqus/ #一般情況下無需修改 API 地址
admin:
adminLabel:
- count: true # top_img顯示評論數
+ count: false # dispaly comment count in top_img
laibili:
enable: false
@@ -252,24 +252,27 @@ gitalk:
distractionFreeMode: false # Facebook-like distraction free mode.
pagerDirection: last # Comment sorting direction, available values are last and first.
createIssueManually: false # Gitalk will create a corresponding github issue for your every single page automatically
- count: true # top_img顯示評論數
+ count: false # dispaly comment count in top_img
# valine comment system. https://valine.js.org
valine:
enable: false # if you want use valine,please set this value is true
appId: # leancloud application app id
appKey: # leancloud application app key
- notify: false # valine mail notify (true/false) https://github.com/xCss/Valine/wiki
- verify: false # valine verify code (true/false)
+ notify: false # valine mail notify (true/false) Deprecated in v1.4.0+
+ verify: false # valine verify code (true/false) Deprecated in v1.4.0+
pageSize: 10 # comment list page size
avatar: monsterid # gravatar style https://valine.js.org/#/avatar
- lang: en # i18n: zh-cn/en
+ lang: en # i18n: zh-CN/zh-TW/en/ja
placeholder: Please leave your footprints # valine comment input placeholder(like: Please leave your footprints )
guest_info: nick,mail,link #valine comment header info
recordIP: false # Record reviewer IP
serverURLs: # This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in)
+ emojiCDN: # emoji CDN
+ enableQQ: false # enable the Nickname box to automatically get QQ Nickname and QQ Avatar
+ requiredFields: nick,mail # required fields nick/mail/link
bg: /img/comment_bg.png # valine background
- count: true # top_img顯示評論數
+ count: false # dispaly comment count in top_img
# utterances
# https://utteranc.es/
@@ -282,6 +285,17 @@ utterances:
light_theme: github-light
dark_theme: photon-dark
+# Facebook Comments Plugin
+# https://developers.facebook.com/docs/plugins/comments/
+facebook_comments:
+ enable: false
+ app_id:
+ user_id: # optional
+ pageSize: 10 # The number of comments to show
+ order_by: social # social/time/reverse_time
+ lang: en_US # Language en_US/zh_CN/zh_TW and so on
+ count: false
+
##### Footer Settings ####
# ------------------------------------
since: 2020
@@ -425,7 +439,7 @@ canvas_ribbon_piao:
# https://github.com/hustcc/canvas-nest.js
canvas_nest:
enable: false
- color: "0,0,255" #color of lines, default: '0,0,0'; RGB values: (R,G,B).(note: use ',' to separate.)
+ color: '0,0,255' #color of lines, default: '0,0,0'; RGB values: (R,G,B).(note: use ',' to separate.)
opacity: 0.7 # the opacity of line (0~1), default: 0.5.
zIndex: -1 # z-index property of the background, default: -1.
count: 99 # the number of lines, default: 99.
@@ -451,8 +465,9 @@ click_heart:
ClickShowText:
enable: false
text:
- - 本人
- - 超帥
+ - I
+ - LOVE
+ - YOU
fontSize: 15px
# 網站顯示模式
@@ -464,7 +479,7 @@ display_mode: light
beautify:
enable: false
title-prefix-icon: '\f0c1'
- title-prefix-icon-color: "#F47466"
+ title-prefix-icon-color: '#F47466'
# 全局字體
font:
@@ -493,8 +508,8 @@ subtitle:
loop: false
# source調用第三方服務
# source: false 關閉調用
- # source: 1 調用金山詞霸的每日一句(簡體)
- # source: 2 調用一言網的一句話(簡體) #https://hitokoto.cn/
+ # source: 1 調用搏天api的隨機語錄(簡體) https://api.btstu.cn/
+ # source: 2 調用一言網的一句話(簡體) https://hitokoto.cn/
# source: 3 調用一句網(簡體) http://yijuzhan.com/
# source: 4 調用今日詩詞(簡體) https://www.jinrishici.com/
# subtitle 會先顯示 source , 再顯示 sub 的內容
@@ -510,6 +525,9 @@ subtitle:
fontawesome_v5:
enable: false
+# 加載動畫 Loading Animation
+preloader: false
+
#### 側邊欄 ####
#-------------------------------------
# 側邊欄顯示設置
@@ -517,18 +535,30 @@ aside:
enable: true
mobile: true # 手機頁面( 顯示寬度 < 768px )是否顯示aside內容
position: right # left or right
- card_author: true
- card_announcement: true
- card_recent_post: true
- card_categories: true
- card_tags: true
- card_archives: true
+ card_author:
+ enable: true
+ description:
+ card_announcement:
+ enable: true
+ content: This is my Blog
+ card_recent_post:
+ enable: true
+ limit: 5 # if set 0 will show all
+ card_categories:
+ enable: true
+ limit: 8 # if set 0 will show all
+ card_tags:
+ enable: true
+ limit: 40 # if set 0 will show all
+ color: false
+ card_archives:
+ enable: true
+ type: monthly # yearly or monthly
+ format: MMMM YYYY # eg: YYYY年MM月
+ order: -1 # Sort of order. 1, asc for ascending; -1, desc for descending
+ limit: 8 # if set 0 will show all
card_webinfo: true
-# 網站公告
-announcement:
- content: 感謝訪問本站,若喜歡請收藏 ^_^
-
# busuanzi count for PV / UV in site
# 訪問人數
busuanzi:
@@ -555,11 +585,11 @@ translate:
#延遲時間,若不在前, 要設定延遲翻譯時間, 如100表示100ms,默認為0
translateDelay: 0
#博客網址
- cookieDomain: "https://xxx/"
+ cookieDomain: 'https://xxx/'
#當文字是簡體時,按鈕顯示的文字
- msgToTraditionalChinese: "繁"
+ msgToTraditionalChinese: '繁'
#當文字是繁體時,按鈕顯示的文字
- msgToSimplifiedChinese: "簡"
+ msgToSimplifiedChinese: '簡'
#閲讀模式
readmode:
@@ -598,8 +628,8 @@ fancybox:
snackbar:
enable: false
position: bottom-left
- bg_light: "#49b1f5" #light mode時彈窗背景
- bg_dark: "#2d3035" #dark mode時彈窗背景
+ bg_light: '#49b1f5' #light mode時彈窗背景
+ bg_dark: '#2d3035' #dark mode時彈窗背景
#百度推送
baidu_push:
@@ -653,21 +683,23 @@ Open_Graph_meta: true
# 開啟hexo自帶的緩存,加快生成速度
fragment_cache: true
-# CDN
-# 網站必須
-# 可根據需要自行添加js/css
-CDN_USE:
- css:
- - /css/index.css
-
- js:
- - https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js #/js/third-party/jquery.min.js
- - /js/utils.js
- - /js/main.js
+# inject
+# 插入代码到头部之前 和 尾部