Skip to content

Releases: theme-next/hexo-theme-next

v6.0.1

10 Jan 16:13
Compare
Choose a tag to compare

Breaking changes

Remove Duoshuo (#14)

Old configuration:

-# Duoshuo ShortName
-#duoshuo_shortname:

-# Share
-#duoshuo_share: true

-# Make duoshuo show UA
-# user_id must NOT be null when admin_enable is true!
-# you can visit http://dev.duoshuo.com get duoshuo user id.
-duoshuo_info:
-  ua_enable: true
-  admin_enable: false
-  user_id: 0
-  #admin_nickname: Author

Menu Icons (2412fbc)

Old configuration:

-# Enable/Disable menu icons. 
-menu_icons: 
-  enable: true

New configuration:

# Enable/Disable menu icons / item badges. 
menu_settings: 
  icons: true 

Features

  • Added reading_progress (#5)
  • Several improvements in main menu on all schemes. (#8, 2412fbc)
  • Added «Follow me on GitHub» banner option. (caf0738)

Optimizations

  • Clean duoshuo plugin due support discontinued from June 1, 2017 (#14, 0e5ab06)
  • Update path on Local Search dependencies. (feb1968)
  • Update config for FancyBox 2 & 3. (fd89b29)
  • Updated MathJax CDN links & added short docs to them. (be3528f)

Bug Fixes

  • Fixed a bug of the reward and the wechat-subscriber template (#6)
  • Fixed: In mobile, menu content will cover side bar (Muse scheme).
  • Fixed menu items excess spaces. (06f9d8b)

For full changes, see the comparison between 6.0.0 and 6.0.1

v6.0.0

02 Jan 11:49
Compare
Choose a tag to compare

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.