next-theme / hexo-optimize

🚩 A Hexo plugin that optimize the pages loading speed, written in Rust
MIT License
13 stars 2 forks source link

missing `</html></body><head>` tag #31

Closed uiolee closed 1 year ago

uiolee commented 1 year ago

hi there. I install hexo-optimize, and run hexo g. Then I found that

may I ask if this is normal?

stevenjoezhang commented 1 year ago

HTML minify is enabled by default. You can disable it by setting

filter_optimize:
  html:
    # minify all html files
    minify: false

in Hexo _config.yml

uiolee commented 1 year ago

Yes I know. Do you mean this is normal compression?

stevenjoezhang commented 1 year ago

Yes,it's expected behavior

uiolee commented 1 year ago

thanks. it's awesome