Skip to content

ohroy/hexo-cute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ohroy/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