🦋 A Hexo Theme: Butterfly
Go to file
Jerry 89b3626c84 fix: 修復 aside 最後一個 沒有 margin-bottom 的 bug
feat: 適配 fortawesome v7
improvement: 優化 loading 加載
2025-07-27 15:26:28 +08:00
.github update 2025-02-16 20:38:17 +08:00
languages feat: 增加導覽欄顯示文章標題的選項 feat: 文章頁增加'返回首頁'文字 improvement: 當 per_page 為 0 時,頁面不顯示導覽列 2025-06-25 16:25:46 +08:00
layout fix: 修復 aside 最後一個 沒有 margin-bottom 的 bug 2025-07-27 15:26:28 +08:00
scripts feat: 增加導覽欄顯示文章標題的選項 feat: 文章頁增加'返回首頁'文字 improvement: 當 per_page 為 0 時,頁面不顯示導覽列 2025-06-25 16:25:46 +08:00
source fix: 修復 aside 最後一個 沒有 margin-bottom 的 bug 2025-07-27 15:26:28 +08:00
_config.yml feat: 增加導航欄顯示文章標題的選項,並更新懶加載設置 2025-07-04 23:26:29 +08:00
.gitignore chore: 补充缺少的依赖库 2025-04-30 16:56:46 +08:00
LICENSE update 2025-02-16 20:38:17 +08:00
package.json fix: 修復 aside 最後一個 沒有 margin-bottom 的 bug 2025-07-27 15:26:28 +08:00
plugins.yml fix: 修復 aside 最後一個 沒有 margin-bottom 的 bug 2025-07-27 15:26:28 +08:00
README_CN.md update 2025-02-16 20:38:17 +08:00
README.md update 2025-02-16 20:38:17 +08:00

hexo-theme-butterfly

master version master version https://img.shields.io/npm/v/hexo-theme-butterfly?color=%09%23bf00ff hexo version license

📢 Demo: Butterfly / CrazyWong

📖 Docs: English / Chinese


💻 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/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
  • Chart.js
  • Justified Gallery
  • Lazyload images
  • Instantpage/Snackbar notification toast/PWA......

Contributors

📷 Screenshots