Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only Minifies post content. #10

Closed
matthewsanders opened this issue Apr 27, 2016 · 2 comments
Closed

Only Minifies post content. #10

matthewsanders opened this issue Apr 27, 2016 · 2 comments
Labels

Comments

@matthewsanders
Copy link

matthewsanders commented Apr 27, 2016

I was using hexo-html-minifier on hexo 3.1.1 which would work great on the full page. I later upgraded to hexo 3.2.0 which broke this behavior and only minified the post content under <div class="article-entry" itemprop="articleBody">.

I decided to install hexo-all-minifier to see if that would work and I end up with the same result.

It would appear that hexo 3.2.0 may have universally broken both minifiers, probably due to either an order of operations change or limiting content processed by the generators.

@matthewsanders
Copy link
Author

Apparently this has been fixed in hexo AFTER 3.2.0. The git sha: 95fb3ce22621bc477e48adfec4152696eb1aae29

So if you currently need this fix you can uninstall hexo from npm and reinstall with git:

npm install //git@github.com:hexojs/hexo.git --save

@chenzhutian
Copy link
Owner

thanks for your feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants