You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
d8a1fa6417
1. 部分配置更改 feat: 1. 移除 messenger 聊天插件 2. 更新 fackbook 版本號 3. 增加 香港繁體、日文和韓語 4. 使用的新的複製api 代替舊的 5. 增加 umami 分析 6. 增加 umami 獲取訪問量/訪客數 7. snackbar 增加透明度 8. 文章頁下, nav fixed 下 顯示文章標題 improvement: 1. 代碼優化 2. 修改部分用語 3. 回復之前的相對時間邏輯 4. timeline tag 樣式優化 5. 優化 seo 6. 優化 artalk 的最新評論 fix: 1. tag-hide toggle 圓角問題 2. lazyload 為 false 時,artalk 無法正常加載評論的 bug 3. 修復 gallery 出現抖動的 bug |
1 month ago | |
---|---|---|
.github | 2 months ago | |
languages | 1 month ago | |
layout | 1 month ago | |
scripts | 1 month ago | |
source | 1 month ago | |
LICENSE | 4 years ago | |
README.md | 1 month ago | |
README_CN.md | 1 month ago | |
_config.yml | 1 month ago | |
package.json | 1 month ago | |
plugins.yml | 2 months ago |
README.md
💻 Installation
GIT
If you are in Mainland China, you can download in Gitee
Stable branch [recommend]:
git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly
Dev branch:
git clone -b dev https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly
NPM
It supports Hexo 5.0.0 or later
In Hexo site root directory
npm i hexo-theme-butterfly
⚙ Configuration
Set theme in the hexo work folder's root config file _config.yml
:
theme: butterfly
If you don't have pug & stylus renderer, try this:
npm install hexo-renderer-pug hexo-renderer-stylus
🎉 Features
- Card UI Design
- Rounded Design/Squared Design
- Support sub-menu
- Two-column layout
- Responsive Web Design
- Dark Mode
- Pjax
- Read Mode
- Conversion between Traditional and Simplified Chinese
- TOC catalog is available for both computers and mobile phones
- Built-in Syntax Highlighting Themes (darker/pale night/light/ocean), also support customization
- Code Blocks (Display code language/close or expand Code Blocks/Copy Button/word wrap)
- Disable copy/Add a Copyright Notice to the Copied Text
- Search (Algolia Search/Local Search)
- Mathjax and Katex
- Built-in 404 page
- WordCount
- Related articles
- Displays outdated notice for a post
- Share (Sharejs/Addtoany)
- Comment (Disqus/Disqusjs/Livere/Gitalk/Valine/Waline/Utterances/Facebook Comments/Twikoo/Giscus/Remark42/artalk)
- Multiple Comment System Support
- Online Chats (Chatra/Tidio/Daovoice/Crisp)
- Web analytics
- Google AdSense
- Webmaster Verification
- Change website colour scheme
- Typewriter Effect: activate_power_mode
- Background effects (Canvas ribbon/canvas_ribbon_piao/canvas_nest)
- Mouse click effects (Fireworks/Heart/Text)
- Preloader/Loading Animation/pace.js
- Busuanzi visitor counter
- Medium Zoom/Fancybox
- Mermaid
- Justified Gallery
- Lazyload images
- Instantpage/Pangu/Snackbar notification toast/PWA......