NexT

Theme for Hexo

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

Since more and more contributors joined to NexT, version 6.0.6 got more improvements, additions and bugfixes. Here are some important of them:

Version 6.0.6

  • REMOVED Duplicated meta tag keywords (Hexo v3.3.5 or higher needed).
  • IMPROVED Accessibility for mobile devices.
  • ADDED Support for [hexo-leancloud-counter-security][] plugin.
  • ADDED Sub-Menu feature.
  • FIXED `svg` confict in Algolia.
  • FIXED GitHub banner under tablet devices and adapted with `mobile_layout_economy` option.
  • FIXED Margin settings consistence for Mist scheme.

Detailed changes for NexT v6.0.6

Version 6.0.5

  • IMPROVED Allow to set custom CDN for Valine.
  • ADDED BreadCrumbs feature.
  • ADDED `include_raw` tag.
  • FIXED Syntax issue about IE compatible for Valine.

Detailed changes for NexT v6.0.5

Version 6.0.4

  • CHANGED Busuanzi Count.
  • IMPROVED Used title as url in `exturl` tag if no arguments exists as title.
  • ADDED External urls in sidebar author links.
  • ADDED Vendor configurations (CDN) for [theme-next-bookmark][] and [theme-next-reading-progress][].
  • ADDED Support for `hexo-related-popular-posts` plugin.
  • FIXED Missing `data-fancybox` attribute for fancybox.
  • FIXED Use `.length` instead of `.size()` in `motion.js` and `utils.js` to make it work with jQuery 3.1.

Detailed changes for NexT v6.0.4

Version 6.0.3

  • CHANGED Language codes: `fr-FR` to `fr`, `nl-NL` to `nl` and `zh-Hans` to `zh-CN`.
  • CHANGED `math.per_page` by default to `true` to make math lazyloaded.
  • IMPROVED Make social, creative commons and footer powered links sensitive by `seo` option.
  • ADDED Bookmark feature as separated module: [theme-next-bookmark][].
  • ADDED Switch to choice whether it will unescape the HTML strings for local searching.
  • ADDED Support to set whether the sidebar will be shown in each single post.
  • FIXED Load math script in homepage for posts or pages contained `mathjax: true` in Front-matter.
  • FIXED Algolia search overlay on mobile devices.

Detailed changes for NexT v6.0.3

Version 6.0.2

  • IMPROVED MathJax feature.
  • ADDED KaTeX support ([usage][katex-usage]).
  • ADDED Support for lazy load the Disqus comments.
  • ADDED `cheers_enabled` option.
  • ADDED `pangu` option instead of `auto_spacing` in Hexo as separated module: [theme-next-pangu][].
  • ADDED Load custom files from outside the theme.
  • FIXED Refactored `head.swig` to right rendering pathes with `cache` option.
  • FIXED Issue about the categories/tags count in `_drafts` directory.
  • FIXED `theme_config` option in NexT for Hexo config.

Detailed changes for NexT v6.0.2

Version 6.0.1

  • REMOVED Duoshuo.
  • ADDED Reading progress feature as separated module: [theme-next-reading-progress][].
  • ADDED Badges to menu.
  • ADDED «Follow me on GitHub» banner option.

Detailed changes for NexT v6.0.1

0%