Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A modern, card-based Hexo blog theme with dark mode, multiple comment systems, search backends, and built-in widgets.

Gatsby blog starter with SCSS, Utterances comments, pagination, React Helmet SEO, automated post generation, and resume page.

A modern Hugo theme with automatic dark mode, CSS Custom Properties, and 15+ language translations.

A LaTeX-inspired Hugo theme for elegant technical writing and academic content, featuring server-side KaTeX math rendering and zero client-side JavaScript.

A Jekyll blog template for software development posts, using the NexT theme adapted from Hexo.
hexo-theme-butterfly is a modern, card-based Hexo blog theme by JerryC127 that renders Markdown posts into a responsive two-column blog with dark mode, multiple comment systems, and a wide array of built-in widgets.
hexo-theme-butterfly is a free, open-source theme for the Hexo static site generator. It takes Markdown-based blog content and outputs a fully styled website with a two-column layout, card-based design, and responsive styling. The theme is installed by cloning the Git repository into the themes/butterfly directory or via npm install hexo-theme-butterfly; the npm route requires Hexo 5.0.0 or newer. Development is led by JerryC127, and the project is licensed under Apache 2.0. The theme is built on Pug templates and Stylus stylesheets.
hexo-theme-butterfly packs an unusually large feature set into one theme, all controlled through the _config.yml file:
hexo-theme-butterfly fits content-driven sites that want many features without assembling separate plugins. It is a good match for:
The theme's built-in widgets let you build several types of sites without extra plugins. For example:
Installation follows the standard Hexo theme workflow. Clone the master (stable) or dev branch into themes/butterfly, or run npm install hexo-theme-butterfly for Hexo 5.0+. Set theme: butterfly in the Hexo _config.yml, then install the required renderers with npm install hexo-renderer-pug hexo-renderer-stylus --save. After that, hexo generate produces the full site as static HTML.
hexo-theme-butterfly is free and open source under the Apache 2.0 license. There is no paid tier, though the author accepts sponsorships via Stripe.
A few other Hexo themes occupy the same space, though Butterfly's feature count is higher. Examples:
Yes. The theme is released under the Apache 2.0 license and is completely free to use, modify, and distribute. A sponsor page exists if you want to support development financially.
You can clone the repository into your Hexo themes folder using git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly, or install via npm with npm install hexo-theme-butterfly (npm requires Hexo 5.0.0+). Then set theme: butterfly in _config.yml and install the pug/stylus renderers.
Yes, dark mode is built in. It also has a reading mode, a TOC on both desktop and mobile, and customizable border styles through the theme settings.
The theme supports Disqus, Gitalk, Valine, Waline, Twikoo, Giscus, and Artalk. You can even enable two comment systems simultaneously.
Yes. Both MathJax and KaTeX are supported, so you can render LaTeX-style formulas in your Markdown posts. Chart.js and Mermaid are also included for diagrams and data visualizations.