🦋 A Hexo Theme: Butterfly
Go to file
Jerry aa7173fc69 feature: 增加 tags 標簽外掛 - label
improvement: 優化 pjax 下 404 頁面
2021-04-25 22:08:07 +08:00
.github feat: 增加 npm push github action 2021-01-12 23:38:33 +08:00
languages feat: 增加首頁評論數顯示 2021-01-25 19:39:53 +08:00
layout feature: 增加 tags 標簽外掛 - label 2021-04-25 22:08:07 +08:00
scripts feature: 增加 tags 標簽外掛 - label 2021-04-25 22:08:07 +08:00
source feature: 增加 tags 標簽外掛 - label 2021-04-25 22:08:07 +08:00
_config.yml Breaking Changes: lazyload 優化 (增加高斯模糊過度特效,增加配置 lazyload 範圍,佔位圖應用到全站) 2021-03-24 21:57:30 +08:00
LICENSE 🐛 適配hexo 5.0.0 修復toc點擊不會跳轉的bugs 2020-08-01 01:50:01 +08:00
package.json feature: 增加 tags 標簽外掛 - label 2021-04-25 22:08:07 +08:00
README_CN.md fix: 修復開啟anchor後,瀏覽器上一頁/下一頁 跳轉會404的bug (文章頁的url hash 在pjax下變成 undefined) 2021-04-23 18:06:51 +08:00
README.md fix: 修復開啟anchor後,瀏覽器上一頁/下一頁 跳轉會404的bug (文章頁的url hash 在pjax下變成 undefined) 2021-04-23 18:06:51 +08:00

Language: 🇺🇸 🇨🇳

hexo-theme-butterfly

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

Demo: 👍 Butterfly || 🤞 MYW

Docs: 📖 Butterfly Docs

Based on hexo-theme-melody theme.

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
  • Support sub-menu
  • Two Column designs
  • Responsive Web Design
  • Dark Mode
  • Pjax
  • Read Mode
  • Conversion between Traditional and Simplified Chinese
  • TOC catalog is available for both computers and mobile phones
  • Color themes (darker/pale night/light/ocean/mac/mac light), support custom colors
  • 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 SearchZ/Local Search)
  • Mathjax and Katex
  • Built-in 404 page
  • WordCount
  • Related articles
  • Displays outdated notice for a post
  • Share (AddThis/Sharejs/Addtoany)
  • Comment (Disqus/Disqusjs/Livere/Gitalk/Valine/Waline/Utterances/Facebook Comments/Twikoo)
  • Multiple Comment System Support
  • Online Chats (Chatra/Tidio/Daovoice/Gitter/Crisp)
  • Web analytics (Baidu Analytics/Google Analytics/Tencent Analytics/CNZZ Analytics)
  • Google AdSense
  • Webmaster Verification (google/Bing/Baidu/360/Yandex)
  • 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
  • Busuanzi visitor counter
  • Medium Zoom/Fancybox
  • Mermaid
  • Justified Gallery
  • Lazyload images
  • Instantpage/Pangu/Snackbar notification toast/PWA......

Screenshots