Skip to content

v6.0.0

Compare
Choose a tag to compare
@ivan-nginx ivan-nginx released this 02 Jan 11:49
· 1421 commits to master since this release

Breaking changes

Wordcount

Old configuration:

-# Post wordcount display settings
-# Dependencies: https://github.com/willin/hexo-wordcount
-post_wordcount:
-  item_text: true
-  wordcount: false
-  min2read: false
-  totalcount: false
-  separated_meta: true

New configuration:

# Post wordcount display settings
# Dependencies: https://github.com/theme-next/hexo-symbols-count-time
symbols_count_time:
  separated_meta: true
  item_text_post: true
  item_text_total: false
  awl: 5
  wpm: 200

Features

  • Added cache option to increase generation speed. Enabled by default.
    # Allow to cache content generation. Introduced in NexT v6.0.0.
    cache:
      enable: true
  • Added totaltime format for translation in footer.
  • Added recommended markdown editor (#3)
  • Added Translations for docs in Simplified Chinese. (#4)

Optimizations

  • Documentation totally rewrited. Added docs in RU language.
  • Replaced wordcount by symbols-count-time.
  • Cutted out:
    algolia-instant-search,
    canvas-nest,
    canvas-ribbon,
    fancybox,
    fastclick,
    Han,
    jquery_lazyload,
    needsharebutton,
    pace,
    three libraries from next/source/lib directory into external separated repositories.
    As a result whole size of repo (without git directory) decreased from ~3.9MB to ~1.6MB.
    And, of course, it's also a little decrease generation time because some libs like pace not used by all peoples and was disabled, but in public directory they was whatever copied.

Bug Fixes

  • Fixed date excess spaces in titles.
  • Fixed meta-divider in wordcount when separated_meta disabled and only min2read enabled.