🦋 A Hexo Theme: Butterfly
Go to file
Jerry 0eac648267 feat: 增加 post_pagination 配置(可關閉/配置分頁展示邏輯)
feat: 可配置最新評論的緩存時間
fix: 修復pjax下不會跳轉404頁面的bug
fix: 修復手持設備橫向翻轉時,menu 沒有進行判斷,而導致樣式錯亂的bug
fix: 修復文字點擊關閉random無效的bug
fix: 修復子目錄下,打賞圖片跳轉鏈接會錯誤的bug
improvement: 文章版權右上角改為 版權icon
improvement: pangu的操作範圍增大到 body-wrap裏的內容
improvement: pug 判斷優化
improvement: 最新評論js優化
remove: 移除 fragment_cache 配置(默認開啟)
remove: 移除百度推送(百度已棄用)和百度轉碼
2021-01-10 19:26:32 +08:00
.github feat: 去除 jQuery (fancybox和圖庫 仍需要加載jQuery) 2020-11-21 00:27:01 +08:00
languages feat: 右下角增加字體調整按鈕 2020-12-09 15:58:58 +08:00
layout feat: 增加 post_pagination 配置(可關閉/配置分頁展示邏輯) 2021-01-10 19:26:32 +08:00
scripts feat: 去除 jQuery (fancybox和圖庫 仍需要加載jQuery) 2020-11-21 00:27:01 +08:00
source feat: 增加 post_pagination 配置(可關閉/配置分頁展示邏輯) 2021-01-10 19:26:32 +08:00
_config.yml feat: 增加 post_pagination 配置(可關閉/配置分頁展示邏輯) 2021-01-10 19:26:32 +08:00
LICENSE 🐛 適配hexo 5.0.0 修復toc點擊不會跳轉的bugs 2020-08-01 01:50:01 +08:00
package.json feat: 增加 post_pagination 配置(可關閉/配置分頁展示邏輯) 2021-01-10 19:26:32 +08:00
README_CN.md update: hexo version 2020-12-30 23:30:45 +08:00
README.md update: hexo version 2020-12-30 23:30:45 +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 || 🤞 JerryC

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