Skip to content

rozbo/hexo-cute

master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 

status

npm version npm npm npm

Hexo-cute

I want a perfect page to show for my blog, so I made this plugin, but one day some guys said it was too slow rozbo/hexo-neat#13, and I try to fix it, but I can't, hexo doest provide any api to get the resource that changed. I have tried many methods, including reading the database, comparing hashes myself, etc., but the coupling in this place is so high that we have no chance to intervene.

Finally, as a last resort, I used this solution, monkey patch, which is hooked by myself and is not officially supported by hexo. To make matters worse, with the hexo update, this scheme may fail. So the risk is controlled by yourself.

Installation

$ npm install hexo-cute --save

Options

To Enable Auto neat , you must config like this:

cute:
  enable: true
  html:
    enable: true
    #....
  css: 
    enable: true
    #.....
  js: 
    enable: true
    #.....

Sponsor

The project is develop by JetBrains Ide

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published