Skip to content

2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Aug 08:36
· 66 commits to master since this release
5693469

Breaking change

Feature

  • feat: support page with trailing '.html' @curbengh [#111]
    • When a page is available on http://yoursite.com/about.html, browsing http://yoursite.com/about will be served with "about.html" page.
    • When pretty_urls is used,
    pretty_urls: 
      trailing_index: false # defaults to true
    • Browsing http://yoursite.com/about.html will 301-redirect to http://yoursite.com/about.
    pretty_urls: 
      trailing_html: false # defaults to true
    • Browsing http://yoursite.com/2020/01/02/foo/index.html will 301-redirect to http://yoursite.com/2020/01/02/foo/.
    • This ensure a page only has one canonical permalink.

Changes

Dependencies

  • chore(deps-dev): bump hexo from 3.9.0 to 5.0.0 [#104] [#139]
  • chore(deps-dev): bump mocha from 6.2.2 to 8.0.1 [#126] [#135]
  • chore(deps-dev): bump eslint from 6.8.0 to 7.0.0 (#133)
  • chore(deps-dev): bump hexo-fs from 2.0.0 to 3.0.1 (#129)
  • chore(deps-dev): bump sinon from 7.5.0 to 9.0.2 (#128)
  • chore(deps): bump chalk from 2.4.2 to 4.0.0 [#105] [#127]
  • chore(deps-dev): bump mocha from 6.2.2 to 7.1.1 (#126)
  • chore(deps-dev): bump uuid from 3.4.0 to 8.0.0 @SukkaW [#122] [#132]
  • chore(deps-dev): bump nyc from 14.1.1 to 15.0.0 (#108)
  • Bump eslint-config-hexo from 3.0.0 to 4.0.0 (#106)
  • Bump open from 6.4.0 to 7.0.0 (#103)