NexT

Theme for Hexo

⭐ Features

  • Extract some features to plugins (#1232)
    -# Automatically scroll page to section which is under <!-- more --> mark.
    -scroll_to_more: true
  • Migrate to Nunjucks (#1215, #1218, #1220, #1226)
  • Delete query strings (#963)

🛠 Improvements

  • Replace lodash with native API (#1230)
  • Refactor sub-menu (#1219)
  • New canonical tag helper (#1143)
  • Code style update (#732)

🐞 Bug Fixes

  • Fix known issues (#1213)

📖 Documentation

  • Update Contributors part in README (#1222)

For full changes, see the comparison between v7.4.2 and v7.5.0

Detailed changes for NexT v7.5.0

🌟 New Features

  • Add Google Analytics Pageview (#1198)

⭐ Features

  • Make font-size customized only when theme.font.enable is true (#1058)
  • Point to different website based on the scheme (#1202)
  • New Valine options (#1193)
  • Improve the style of site-nav (#1180)

🛠 Improvements

  • Code style update (#1197, #1205)
  • Replace id with class name (#1209)
  • Add lang attribute to article tag when specified in front matter (#1199)
  • Fix compatibility issues with hexo-util@1.3.0 (#1175)
  • Optimize the loading of three.js (#1140)

📖 Documentation

  • New README for NexT (#1155)

For full changes, see the comparison between v7.4.1 and v7.4.2

Detailed changes for NexT v7.4.2

⭐ Features

  • New highlight themes (#1177)

🛠 Improvements

  • Add container for busuanzi counter widget (#1154)
  • Use nunjucks-compatible syntax & operator (#1068)
  • Revert #42, #87 (#976)

🐞 Bug Fixes

  • Fix several style issues (#1190)
  • Fix Velocity motion issues (#1185)
  • Fix fancybox & medium-zoom for hexo asset_img tag (#1166)
  • Fix katex uri (#1149)

For full changes, see the comparison between v7.4.0 and v7.4.1

Detailed changes for NexT v7.4.1

💥 Breaking Changes

Add order for theme_inject (#1136)

Redesigned the sequential configuration of the multi-comment system, which was originally introduced in #1048 of New Features section below.

Click to see configuration's changes

# Multiple Comment System Support
comments:
# Available values: tabs | buttons
style: tabs
# Choose a comment system to be displayed by default.
# Available values: changyan | disqus | disqusjs | facebook_comments_plugin | gitalk | livere | valine | vkontakte
active:
# Setting `true` means remembering the comment system selected by the visitor.
storage: true
# Modify texts or order for any naves, here are some examples.
nav:
- #disqus: disqus
- #facebook_comments_plugin: <i class="fa fa-facebook-official" aria-hidden="true"></i> facebook
- #gitalk: Load Gitalk
+ #disqus:
+ # text: Load Disqus
+ # order: -1
+ #facebook_comments_plugin:
+ # text: <i class="fa fa-facebook-official" aria-hidden="true"></i> facebook
+ #gitalk:

Extract all share systems to plugins (#1104)

See the diff (mostly deletion) of _config.yml

Now share systems come with plugin hexo-next-share.

Latest docs can be found at Post Widgets and Statistics and Analytics.

Refactor vendors (#1081)

Click to see configuration's changes

math:
- engine: mathjax
- #engine: katex
mathjax:
- cdn: //cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML
- #cdn: //cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML
+ enable: false
- #mhchem: //cdn.jsdelivr.net/npm/mathjax-mhchem@3
- #mhchem: //cdnjs.cloudflare.com/ajax/libs/mathjax-mhchem/3.3.0
+ mhchem: false
katex:
- cdn: //cdn.jsdelivr.net/npm/katex@0/dist/katex.min.css
- #cdn: //cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css
+ enable: false
- copy_tex:
- enable: false
- copy_tex_js: //cdn.jsdelivr.net/npm/katex@0/dist/contrib/copy-tex.min.js
- copy_tex_css: //cdn.jsdelivr.net/npm/katex@0/dist/contrib/copy-tex.min.css
+ copy_tex: false

pdf:
- pdfobject:
- cdn: //cdn.jsdelivr.net/npm/pdfobject@2/pdfobject.min.js
- #cdn: //cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js

mermaid:
- cdn: //cdn.jsdelivr.net/npm/mermaid@8/dist/mermaid.min.js
- #cdn: //cdnjs.cloudflare.com/ajax/libs/mermaid/8.0.0/mermaid.min.js

vendors:
+ mathjax:
+ mhchem:
+ katex:
+ copy_tex_js:
+ copy_tex_css:
+ pdfobject:
+ mermaid:

Remove full-image tag (#1053)

🌟 New Features

  • Add multi-comments (#1048)
  • PJAX support (#1024)

⭐ Features

  • Expand beian options for users in mainland China (#1121)
  • Add color option for bookmark (#1112)
  • Extract bookmark / save_scroll to plugins (#1106)
  • Refactor reading-progress (#1100)
  • Remove post type quote & picture (#1099)
  • Show year devision in category or tag page (#1061)

🛠 Improvements

  • Refactor sidebar motion (#1128)
  • Reimplement Bootstrap Affix (#1130)
  • Make CSS selectors and dimensional calculations more robust (#1124)
  • Refactor links-of-blogroll-item (#1119)
  • Make sidebar toc & PJAX loading faster (#1113)
  • New helper next-vendors (#1105)
  • Add next_inject helper (#1098)
  • Add next_js helper (#1096)
  • Refactor auto excerpt (#1080)
  • Fix several bugs reported in v7.3 (#1060)
  • Optimize the loading of exturl (#1076)
  • Optimize the rendering of post (#1075)
  • Improve the style of firebase analytics and post-meta (#1056)
  • Need more cache 2 (#1051)
  • Refactor custom pages (#1045)
  • Reorganize the structure of generateBefore (#1043)
  • Obey Stylint rules (#1037)
  • Arrow function expression (#1003)
  • Refactor lint / tests / bower (#1041)

🐞 Bug Fixes

  • IntersectionObserver about TOC (#1125)
  • Fix PJAX refresh bugs when search / fancybox enabled (#1111)
  • Fix space after comment count (#1101)
  • Use insertAdjacentHTML instead of appendChild (#1102)
  • Fix leancloud counter bug (#1093)
  • Strange bug with symlinked next dir (#1062)
  • Fix issues caused by PJAX (#1057)
  • Fix codeblock diff highlight bug (#1047)
  • Refactor inject style path (#1044)
  • Fix bugs caused by this and optimize the loading of cheerio (#1042)
  • Fix affix bug (#1039)

🌍 Localization

  • New Crowdin translations (#1117)
  • Removed comments_count (#1079)

For full changes, see the comparison between v7.3.0 and v7.4.0

Detailed changes for NexT v7.4.0

0%