百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
H

hexo-theme-butterfly

> 编程语言
开源

Hexo 主题:蝴蝶

8.3K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Hexo 主题:蝴蝶


Quick Start

Installation

Method 1: Git Installation (Recommended)

Tip: If GitHub access is slow in mainland China, you can use the Gitee Mirror

Execute in your Hexo blog root directory:

# Install stable version (recommended)
git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly
# Install development version (early access to new features)
git clone -b dev https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly

Method 2: NPM Installation

⚠️ Note: NPM installation only supports Hexo 5.0.0 and above

npm install hexo-theme-butterfly

⚙️ Theme Configuration

  1. Enable Theme: Modify your Hexo configuration file _config.yml:
theme: butterfly
  1. Install Dependencies: If you haven't installed pug and stylus renderers, please run:
npm install hexo-renderer-pug hexo-renderer-stylus --save

✨ Theme Features

Design Style

  • Card-based Design - Modern card-style layout
  • Rounded/Square Design - Customizable border styles
  • Responsive Design - Perfect adaptation to all screen sizes
  • Two-column Layout - Optimized reading experience
  • Dark Mode - Eye-friendly night mode

Content Features

  • Multi-level Menu - Support for secondary navigation menus
  • Reading Mode - Focused article reading experience
  • TOC Navigation - Desktop and mobile TOC support
  • Word Count - Display article word count and reading time
  • Related Articles - Smart recommendation of related content
  • Outdated Reminder - Automatic article update status alerts
  • Traditional/Simplified Chinese - Support for Traditional and Simplified Chinese switching
  • Tag Plugins - Rich tag plugin support

Search & Navigation

  • Multiple Search Options - Algolia Search / Local Search / Docsearch
  • Built-in 404 - Beautiful 404 error page
  • Pjax Support - Smooth page transition experience

Code Display

  • Syntax Highlighting - Built-in multiple themes (darker/pale night/light/ocean)
  • Code Features - Language display/fold expand/copy button/auto-wrap
  • Math Formulas - Support for Mathjax and Katex

Social Interaction

  • Multiple Comment Systems - Disqus/Gitalk/Valine/Waline/Twikoo/Giscus/Artalk etc.
  • Dual Comments Support - Enable two comment systems simultaneously
  • Share Features - Sharejs/Addtoany sharing components
  • Live Chat - Chatra/Tidio/Crisp instant messaging

Analytics & Statistics

  • Visit Statistics - Busuanzi counter
  • Site Analytics - Google Analytics/Baidu Analytics/Cloudflare Analytics/Microsoft Clarity/Umami
  • Webmaster Verification - Major search engine verification
  • Ad Support - Google AdSense/custom ad slots

Visual Effects

  • Typing Effects - activate_power_mode animations
  • Background Effects - Static ribbons/dynamic ribbons/floating ribbons/Canvas Nest
  • Mouse Effects - Fireworks/hearts/text click effects
  • Loading Animations - Preloader and pace.js progress bars
  • Image Effects - Medium Zoom/Fancybox image lightbox
  • Lazy Loading - Image lazy loading optimization

️ Advanced Features

  • PWA Support - Progressive Web App
  • Copy Protection - Disable text copying/copyright info append
  • Theme Customization - Custom site color schemes
  • Chart Support - Mermaid flowcharts/Chart.js data charts
  • Music Notation - ABCJS music notation support
  • Article Series - Series article organization
  • Instantpage - Page preloading acceleration
  • Snackbar - Elegant notification messages

Contributors

Thanks to all the developers who have contributed to the Butterfly theme!

Screenshots

⭐ Star History

Building a Better Theme Together

We believe the power of open source comes from everyone's participation! Whether you're a developer, designer, or user, you can contribute to the development of the Butterfly theme.

Get Help & Support

  • Found a bug? → GitHub Issues - Let's solve it together!
  • Have ideas? → GitHub Discussions - Share your creative ideas!
  • Learning to use? → Official Documentation - Detailed usage guide
  • Real-time discussion? → Telegram Group - Chat with community members

Contributing

Want to make Butterfly better? We welcome any form of contribution:

  • ** Code Contributions** - Fix bugs, add new features, optimize performance
  • ** Documentation** - Improve docs, translate content, write tutorials
  • ** Design Suggestions** - UI/UX improvements, theme colors, icon design
  • ** Testing & Feedback** - Test new features, report issues, provide user experience
  • ** Financial Support** - Sponsor the Project - Support long-term development

License

This project is licensed under the Apache 2.0 License.

Acknowledgments

This theme is developed based on hexo-theme-melody. Thanks to the original author for their excellent work that provided inspiration and foundation!

Thanks to all friends who have contributed to the development of the Butterfly theme. Your support has made this theme continuously improve and progress.


GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •[x] Card-based Design - Modern card-style layout
  • •[x] Rounded/Square Design - Customizable border styles
  • •[x] Responsive Design - Perfect adaptation to all screen sizes
  • •[x] Two-column Layout - Optimized reading experience
  • •[x] Dark Mode - Eye-friendly night mode
  • •[x] Multi-level Menu - Support for secondary navigation menus
  • •[x] Reading Mode - Focused article reading experience
  • •[x] TOC Navigation - Desktop and mobile TOC support
  • •[x] Word Count - Display article word count and reading time
  • •[x] Related Articles - Smart recommendation of related content

> 标签

JavaScriptbutterflyhexohexo-themepug

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言