Hexo 4.0.0 release, fast and simple and efficient framework for blog

Hexo 4.0.0 has been released, updated as follows:

  • chore: Delete Node 6
  • Repair post_link and asset_link
  • Fixed: default encoding permalink
    • If you currently use encodeURI (post.permalink), offers three options: encodeURI (decdeURI (post.permalink)) is backward compatible with HEXO v3.9; encodeURL HEXO-util provided () function, which is backwards compatible ; delete encodeURI ()
  • feat: Add option disables generating meta tags (the meta_generator: false to disable added to the config) 
  • If you do not want to use the file modification time in post.update variable, you can set USE_DATE_FORPDATED in the configuration file: true
  • feat (permalink_variable): Add pretty_urls option to remove index.html from the url
  • Use the following configuration to delete from the permalink variable tracking index.html
pretty_urls:
  trailing_index: false
  • Repair (open_graph): Delete index.html from url
  • Repair (helpers, tag plugins): default encoding url
  • Repair: external_link use after_render, add the field and exclude options

For more details, see the release notes .

Guess you like

Origin www.oschina.net/news/110743/hexo-4-0-0-released