NexT

Theme for Hexo

Breaking Changes

Removed HyperComments because for now only paid. =( (#342)

Custom sidebar width & content width for all schemes. (#339)

Old configuration:

-# Manual define the max content width
-# !!Only available for Gemini Scheme currently
-# Leave it empty for the default 75% (suggest not less than 1000px)
-#max_content_width: 1000px

-# Manual define the sidebar width
-# !!Only available for Gemini Scheme currently
-# Leave it empty for the default 240
-sidebar_width:

New configuration:

sidebar:
# Manual define the sidebar width.
# If commented, will be default for:
# Muse | Mist: 320
# Pisces | Gemini: 240
width: 300

Features

  • Update valine comment system version. (#345)

Improvements

  • Add Labels Rules guideline (#355)
  • Simplify post-reward.styl (#359)
  • New Crowdin translations (#362)
  • Delete youyan comment (#360)
  • Update UPDATE-FROM-5.1.X.md (#324)
  • Add CDN examples for theme-next-three (#335)

Bug Fixes

  • Refactor add baidu_site_verification in _config.yml (#322)
  • Replaced — with – for better visibility. (#368, #341)
  • Fixes indentation for note and tabs tags. (#358)
  • Refactor the share tools within post-widgets (#357)
  • Fix the post date display bug (#302)
  • Fixed NexT package.json path on Windows. (#343)

For full changes, see the comparison between 6.3.0 and 6.4.0

Detailed changes for NexT v6.4.0

Breaking Changes

Added avatar rounded & opacity & rotated feature (#267)

Old configuration:

 # Sidebar Avatar
-# in theme directory(source/images): /images/avatar.gif
-# in site directory(source/uploads): /uploads/avatar.gif
-#avatar: /images/avatar.gif

New configuration:

 # Sidebar Avatar
+avatar:
+ # in theme directory(source/images): /images/avatar.gif
+ # in site directory(source/uploads): /uploads/avatar.gif
+ # You can also use other linking images.
+ url: #/images/avatar.gif
+ # If true, the avatar would be displayed in circle.
+ rounded: false
+ # The value of opacity should be choose from 0 to 1 to set the opacity of the avatar.
+ opacity: 1
+ # If true, the avatar would be rotated with the cursor.
+ rotated: false

Features

  • Added Hexo and NexT environment variables. (#240)
  • Added the support for copy result in code block. (#282)
  • Added the support for automatic equation numbering with Mathjax. (#275)
  • Added custom language support feature. (#253)
  • Allow customized copyright contents (#254) Feature already exists in #253

Improvements

  • Updated translations for core languages. (#239 , #243 , #252 , #285)
  • Updated the Telegram links in README.md. (a99777e)
  • Aligned badges in README.md. (0fec1e6)
  • Updated the badges in README.md. (#250 , d599c4e)
  • Changed the copy-button position to absolute. (#242 )
  • Removed author translated key introduced by Duoshuo. (20ece25)
  • Fixed errors in document for LeanCloud Counter Security Plugin. (#255 )
  • Removed Houndy and JSHint linter files. (e383523)
  • Updated the rss annotation using site's feed link. (d2c74b3)
  • Temporarily changed the node_js to LTS node version. (2eacca2)

Bug Fixes

  • Fixed text font of the Mist scheme on mobile. (#262)
  • Fixed logic bug in Han. (#260)
  • Fixed the incorrect URL decoding of more with scroll_to_more. (#293, 4cacb10)

For full changes, see the comparison between 6.2.0 and 6.3.0

Detailed changes for NexT v6.3.0

Breaking Changes

Minimal correct support for NexT is Hexo v3.5.0 for now.

It's not actually breaking changes, just after this version highly recommend to use NexT with at least Hexo v3.5.0 or higher for avoid all possible bugs.

Hexo v3.5.0 also provides:

  • Replaced swig by swig-templates to mitigate uglifyjs 2.4 security vulnerability: hexojs/hexo#2949
  • Additional templates support which will be used in next NexT releases.

P.S. You can still use old Hexo versions, but NexT will not guarantee in future releases for correct rendering.

Old configuration:

footer:
- powered: true

New configuration:

footer:
powered:
# Hexo link (Powered by Hexo).
enable: true
# Version info of Hexo after Hexo link (vX.X.X).
version: true

Refactored post_meta.updated_at option & replaced updated_diff by another_day option (#223, #228)

Old configuration:

post_meta:
item_text: true
created_at: true
- updated_at: false
- # Only show 'updated' if different from 'created'.
- updated_diff: false
- # If true, post's time format will be hexo config's date_format + ' ' + time_format.
- date_time_merge: false

New configuration:

post_meta:
item_text: true
created_at: true
updated_at:
enabled: true
# If true, show updated date label only if `updated date` different from 'created date' (post edited in another day than was created).
# And if post will edited in same day as created, edited time will show in popup title under created time label.
# If false show anyway, but if post edited in same day, show only edited time.
another_day: true
categories: true

Features

Improvements

  • Update guide for creating releases in CONTRIBUTING.MD (#213)
  • Remove unused language files. (1d89f8f)
  • Updated translations for core languages. (#211, #235)

Bug Fixes

  • Increase page loading performance by refactor menu-item-active class. (6f787af)
    Refactored files hierarchy for header components. (#221)
  • Fix for default language if no language in Hexo config defined. (#210)
    Renamed back _en.yml on en.yml and setted default.yml to link it. (adc76b7)
  • Refactored menu items & badges.
    Fixed bug with appear dot in submenu with disabled badges in Pisces/Gemini schemes. (#229)

For full changes, see the comparison between 6.1.0 and 6.2.0

Detailed changes for NexT v6.2.0

Breaking Changes

Old configuration:

footer:
# Specify the date when the site was setup.
# If not defined, current year will be used.
# since: 2015
# Icon between year and copyright info.
- icon: user

New configuration:

footer:
# Specify the date when the site was setup.
# If not defined, current year will be used.
# since: 2015
# Icon between year and copyright info.
+ icon:
+ # Icon name in fontawesome, see: https://fontawesome.com/v4.7.0/icons
+ # `heart` is recommended with animation in red (#ff0000).
+ name: user
+ # If you want to animate the icon, set it to true.
+ animated: false
+ # Change the color of icon, using Hex Code.
+ color: "[#808](https://github.com/theme-next/hexo-theme-next/pull/808)080"

Features

  • Added comment count on mobile. (#185)
  • Added caption for comment. (#186)
  • Added border-radius settings of code block and updated its style with a caption. (#194)
    +# Manual define the border radius in codeblock, using a space indent.
    +# Leave it empty for the default 1
    +codeblock:
    + border_radius:
    +
  • Added backlog label to exclude labels. (2a841a9)
  • Added English document for LeanCloud Counter Security Plugin. (#174)
  • Added English and Chinese document for contributing.md. (#192)
  • Added English and Chinese document for code-of-couduct.md. (#198)

Improvements

  • Reverted the beta version of LeanCloud Counter Security Plugin. The option leancloud_visitors.security: true by default at present. (d297cf5)
  • Updated English document for LeanCloud Counter Security Plugin. (#175, #177, #204)
  • Updated Chinese document for LeanCloud Counter Security Plugin. (#177, #204)
  • Optimized symbol colon in item text of post meta. (#188)
  • Updated translations for core languages. (c6aaa42, #189)
  • Updated links in README.md. (bd6c789)
  • Updated CDN instructions in Chinese README.md. (ca2554b)

Bug Fixes

  • Fixed a bug in utils.js to prevent the error of i is not defined. (#205)

For full changes, see the comparison between 6.0.6 and 6.1.0

Detailed changes for NexT v6.1.0

0%