Skip to content

4.1.1

Compare
Choose a tag to compare
@curbengh curbengh released this 12 Dec 07:24
· 663 commits to master since this release
23996dc

Feature

  • Add trailing_html: to pretty_urls: option to remove ".html" from url [#3917]
    • Use the following config to remove the trailing ".html" from permalink variables
    _config.yml
    pretty_urls:
      trailing_html: false
    • Example: https://yoursite.com/page/about.html -> https://yoursite.com/page/about

Fixes

  • Set default locales (in "language_TERRITORY" format) for og:locale Open Graph tag [#3921]
    • Previously og:locale was inserted only if language: is configured in "language-TERRITORY" format
    • With this fix, if the language is "en", og:locale will default to "en_US". Refer to the pull request for the full list.
  • meta_generator() helper should output the correct Hexo version [#3925]
  • permalink_defaults: option should be parsed, not replaced [#3926]
  • "node_modules/" and ".git/" folders in themes/ are now always ignored [#3918]

Refactor

  • Further reduces lodash usage [#3880]