Jerry 543cd94c9f feat: 適配 hexo 5.0.0 的 prismjs, 代碼主題和各項功能
refactor: 移除 代碼default主題
fix: 修復夜間模式下代碼塊有背景的bugs(沒開啟渲染的情況下)
feat: 增加 code font-size配置 close #322
refactor: 更改配置中 code-font 為 code-font-family
feat: Pjax下,刷新頁面時,會滾動到上次瀏覽的位置
fix: 修復mathjax溢出屏幕的Bugs close #321
543cd94c9f · 2020-08-19 00:21:18 +08:00
130 Commits
2020-08-18 00:52:55 +08:00
2020-08-05 22:02:23 +08:00
2020-08-05 22:02:23 +08:00

hexo-theme-butterfly

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

Demo: 👍 Butterfly || 🤞 JerryC

Docs: 📖 Butterfly Docs

Based on hexo-theme-melody theme.

Installation

GIT

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

Screenshots

image

Description
Languages
JavaScript 40.4%
Stylus 37.5%
Pug 22.1%