GithubHelp home page GithubHelp logo

eurkon / hexo-theme-butterfly-eurkon Goto Github PK

View Code? Open in Web Editor NEW
53.0 1.0 12.0 2.53 MB

hexo-theme-butterfly魔改

Home Page: https://blog.eurkon.com/

License: Apache License 2.0

Pug 19.28% JavaScript 25.83% Stylus 34.74% CSS 20.15%

hexo-theme-butterfly-eurkon's Introduction

hexo-theme-butterfly

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

📢 Demo: Butterfly || CrazyWong

📖 Docs: English || Chinese

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 layout
  • Responsive Web Design
  • Dark Mode
  • Pjax
  • Read Mode
  • Conversion between Traditional and Simplified Chinese
  • TOC catalog is available for both computers and mobile phones
  • Built-in Syntax Highlighting Themes (darker/pale night/light/ocean/mac/mac light), also support customization
  • 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 Search/Local Search)
  • Mathjax and Katex
  • Built-in 404 page
  • WordCount
  • Related articles
  • Displays outdated notice for a post
  • Share (Sharejs/Addtoany)
  • Comment (Disqus/Disqusjs/Livere/Gitalk/Valine/Waline/Utterances/Facebook Comments/Twikoo/Giscus/Remark42/artalk)
  • Multiple Comment System Support
  • Online Chats (Chatra/Tidio/Daovoice/Crisp/messenger)
  • Web analytics
  • Google AdSense
  • Webmaster Verification
  • 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/pace.js
  • Busuanzi visitor counter
  • Medium Zoom/Fancybox
  • Mermaid
  • Justified Gallery
  • Lazyload images
  • Instantpage/Pangu/Snackbar notification toast/PWA......

✨ Contributors

📷 Screenshots

hexo-theme-butterfly-eurkon's People

Contributors

alpaca0x0-tech avatar android-kitkat avatar bmyjacks avatar chenyfan avatar constown avatar cooper1x avatar eurkon avatar flymin avatar gztimewalker avatar hackeryunen avatar hajeekn avatar holgerhuo avatar jerryc127 avatar larscheng avatar noraj avatar serokssr avatar slblog-github avatar srkeo avatar theworkfsz avatar wayne0926 avatar weilining avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hexo-theme-butterfly-eurkon's Issues

[Bug]: Vercel部署大量报错

使用的 Butterfly 版本? | What version of Butterfly are you use?

4.3.1

使用的瀏覽器? || What browse are you using?

Safari

使用的系統? || What operating system are you using?

macOS

問題描述 | Describe the bug

以下是错误代码:
bug.txt

出現問題網站 | Website

https://

[Feature]: config

想要的功能 | What feature do you want?

大佬能否给下_config.butterfly.yml

[Bug]:

使用的 Butterfly 版本? | What version of Butterfly are you use?

4.5.4

是否修改过主题文件? || Has the theme files been modified?

不是 (No)

使用的瀏覽器? || What browse are you using?

Chrome

使用的系統? || What operating system are you using?

Windows

問題描述 | Describe the bug

> hexo s
INFO  Validating config
ERROR Script load failed: themes\butterfly\scripts\helpers\charts.js
Error: Cannot find module 'cheerio'
Require stack:
- D:\blog2\themes\butterfly\scripts\helpers\charts.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
    at Function.Module._load (node:internal/modules/cjs/loader:804:27)
    at Module.require (node:internal/modules/cjs/loader:1028:19)
    at req (D:\blog2\node_modules\_[email protected]@hexo\lib\hexo\index.js:292:23)
    at D:\blog2\themes\butterfly\scripts\helpers\charts.js:1:82
    at D:\blog2\node_modules\_[email protected]@hexo\lib\hexo\index.js:305:14
    at tryCatcher (D:\blog2\node_modules\_[email protected]@bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (D:\blog2\node_modules\_[email protected]@bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (D:\blog2\node_modules\_[email protected]@bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (D:\blog2\node_modules\_[email protected]@bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (D:\blog2\node_modules\_[email protected]@bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (D:\blog2\node_modules\_[email protected]@bluebird\js\release\async.js:93:12)
    at _drainQueue (D:\blog2\node_modules\_[email protected]@bluebird\js\release\async.js:86:9)
    at Async._drainQueues (D:\blog2\node_modules\_[email protected]@bluebird\js\release\async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (D:\blog2\node_modules\_[email protected]@bluebird\js\release\async.js:15:14)
    at processImmediate (node:internal/timers:466:21)
INFO  
  ===================================================================

      #####  #    # ##### ##### ###### #####  ###### #      #   #
      #    # #    #   #     #   #      #    # #      #       # #
      #####  #    #   #     #   #####  #    # #####  #        #
      #    # #    #   #     #   #      #####  #      #        #
      #    # #    #   #     #   #      #   #  #      #        #
      #####   ####    #     #   ###### #    # #      ######   #

                            4.5.1
  ===================================================================
INFO  Start processing
INFO  Hexo is running at http://localhost:4000/ . Press Ctrl+C to stop.
ERROR Render HTML failed: index.html
TypeError: Cannot read properties of undefined (reading 'map')
    at Hexo.<anonymous> (D:\blog2\themes\butterfly\scripts\helpers\random.js:12:31)
    at Hexo.tryCatcher (D:\blog2\node_modules\_[email protected]@bluebird\js\release\util.js:16:23)
    at Hexo.<anonymous> (D:\blog2\node_modules\_[email protected]@bluebird\js\release\method.js:15:34)
    at D:\blog2\node_modules\_[email protected]@hexo\lib\extend\filter.js:67:52
    at tryCatcher (D:\blog2\node_modules\_[email protected]@bluebird\js\release\util.js:16:23)
    at Object.gotValue (D:\blog2\node_modules\_[email protected]@bluebird\js\release\reduce.js:166:18)
    at Object.gotAccum (D:\blog2\node_modules\_[email protected]@bluebird\js\release\reduce.js:155:25)
    at Object.tryCatcher (D:\blog2\node_modules\_[email protected]@bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (D:\blog2\node_modules\_[email protected]@bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (D:\blog2\node_modules\_[email protected]@bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (D:\blog2\node_modules\_[email protected]@bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (D:\blog2\node_modules\_[email protected]@bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (D:\blog2\node_modules\_[email protected]@bluebird\js\release\async.js:93:12)
    at _drainQueue (D:\blog2\node_modules\_[email protected]@bluebird\js\release\async.js:86:9)
    at Async._drainQueues (D:\blog2\node_modules\_[email protected]@bluebird\js\release\async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (D:\blog2\node_modules\_[email protected]@bluebird\js\release\async.js:15:14)
    at processImmediate (node:internal/timers:466:21)
Unhandled rejection TypeError: Cannot read properties of undefined (reading 'map')
    at Hexo.<anonymous> (D:\blog2\themes\butterfly\scripts\helpers\random.js:12:31)
    at Hexo.tryCatcher (D:\blog2\node_modules\_[email protected]@bluebird\js\release\util.js:16:23)
    at Hexo.<anonymous> (D:\blog2\node_modules\_[email protected]@bluebird\js\release\method.js:15:34)
    at D:\blog2\node_modules\_[email protected]@hexo\lib\extend\filter.js:67:52
    at tryCatcher (D:\blog2\node_modules\_[email protected]@bluebird\js\release\util.js:16:23)
    at Object.gotValue (D:\blog2\node_modules\_[email protected]@bluebird\js\release\reduce.js:166:18)
    at Object.gotAccum (D:\blog2\node_modules\_[email protected]@bluebird\js\release\reduce.js:155:25)
    at Object.tryCatcher (D:\blog2\node_modules\_[email protected]@bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (D:\blog2\node_modules\_[email protected]@bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (D:\blog2\node_modules\_[email protected]@bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (D:\blog2\node_modules\_[email protected]@bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (D:\blog2\node_modules\_[email protected]@bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (D:\blog2\node_modules\_[email protected]@bluebird\js\release\async.js:93:12)
    at _drainQueue (D:\blog2\node_modules\_[email protected]@bluebird\js\release\async.js:86:9)
    at Async._drainQueues (D:\blog2\node_modules\_[email protected]@bluebird\js\release\async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (D:\blog2\node_modules\_[email protected]@bluebird\js\release\async.js:15:14)
    at processImmediate (node:internal/timers:466:21)

出現問題網站 | Website

no

[Bug]: 报错

使用的 Butterfly 版本? | What version of Butterfly are you use?

4.5.1

是否修改过主题文件? || Has the theme files been modified?

不是 (No)

使用的瀏覽器? || What browse are you using?

Chrome

使用的系統? || What operating system are you using?

Windows

問題描述 | Describe the bug

> hexo s

INFO  Validating config
INFO  
  ===================================================================

      #####  #    # ##### ##### ###### #####  ###### #      #   #    
      #    # #    #   #     #   #      #    # #      #       # #     
      #####  #    #   #     #   #####  #    # #####  #        #      
      #    # #    #   #     #   #      #####  #      #        #      
      #    # #    #   #     #   #      #   #  #      #        #      
      #####   ####    #     #   ###### #    # #      ######   #      

                            4.5.1
  ===================================================================
INFO  Start processing
INFO  Hexo is running at http://localhost:4000/ . Press Ctrl+C to stop.
ERROR Render HTML failed: index.html
TypeError: Cannot read properties of undefined (reading 'map')
    at Hexo.<anonymous> (D:\aurora-test\themes\butterfly\scripts\helpers\random.js:12:31)
    at Hexo.tryCatcher (D:\aurora-test\node_modules\bluebird\js\release\util.js:16:23)
    at Hexo.<anonymous> (D:\aurora-test\node_modules\bluebird\js\release\method.js:15:34)
    at D:\aurora-test\node_modules\hexo\lib\extend\filter.js:67:52
    at tryCatcher (D:\aurora-test\node_modules\bluebird\js\release\util.js:16:23)
    at Object.gotValue (D:\aurora-test\node_modules\bluebird\js\release\reduce.js:166:18)
    at Object.gotAccum (D:\aurora-test\node_modules\bluebird\js\release\reduce.js:155:25)
    at Object.tryCatcher (D:\aurora-test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (D:\aurora-test\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (D:\aurora-test\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (D:\aurora-test\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (D:\aurora-test\node_modules\bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (D:\aurora-test\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (D:\aurora-test\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (D:\aurora-test\node_modules\bluebird\js\release\async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (D:\aurora-test\node_modules\bluebird\js\release\async.js:15:14)
    at processImmediate (node:internal/timers:466:21)
Unhandled rejection TypeError: Cannot read properties of undefined (reading 'map')
    at Hexo.<anonymous> (D:\aurora-test\themes\butterfly\scripts\helpers\random.js:12:31)
    at Hexo.tryCatcher (D:\aurora-test\node_modules\bluebird\js\release\util.js:16:23)
    at Hexo.<anonymous> (D:\aurora-test\node_modules\bluebird\js\release\method.js:15:34)
    at D:\aurora-test\node_modules\hexo\lib\extend\filter.js:67:52
    at tryCatcher (D:\aurora-test\node_modules\bluebird\js\release\util.js:16:23)
    at Object.gotValue (D:\aurora-test\node_modules\bluebird\js\release\reduce.js:166:18)
    at Object.gotAccum (D:\aurora-test\node_modules\bluebird\js\release\reduce.js:155:25)
    at Object.tryCatcher (D:\aurora-test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (D:\aurora-test\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (D:\aurora-test\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (D:\aurora-test\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (D:\aurora-test\node_modules\bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (D:\aurora-test\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (D:\aurora-test\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (D:\aurora-test\node_modules\bluebird\js\release\async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (D:\aurora-test\node_modules\bluebird\js\release\async.js:15:14)
    at processImmediate (node:internal/timers:466:21)

出現問題網站 | Website

no

Test

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.