NexT

Theme for Hexo

\(^_^)/ Happy New Year!

Breaking Changes

Rename theme.vendors.Han to theme.vendors.han (#512)

Old configuration:

vendors:
...
# Internal version: 3.3.0
# See: https://github.com/ethantw/Han
- Han:

New configuration:

vendors:
...
# Internal version: 3.3.0
# See: https://github.com/ethantw/Han
# Example:
# han: //cdn.jsdelivr.net/npm/han-css@3/dist/han.min.css
# han: //cdnjs.cloudflare.com/ajax/libs/Han/3.3.0/han.min.css
han:

Features

  • Fix #553 New Feature: mhchem support (#554)
  • Format code & update CDN URLs & fix #269 (copy_tex for KaTeX) (#543)
  • Add toc max_depth support (#528)
  • Reorganize #274 Custom logo for Gemini & Pisces (#520)
  • Added post_edit option on pages & Maked some refactoring. (#499)

Optimizations

  • Updated site link & small corrections. (#518)
  • Refactored post navigation styles. (#509)
  • Conditional import Han style. (#507)

Bug Fixes

  • Bug fix in scripts/tags/tabs.js (#558)
  • Fixed b2t to work on all schemes (#552)
  • Fix #48 Footer position (#550)
  • Fix #481 Google Calendar (#549)
  • Fix #508 Reward comment position bug (#546)
  • Fix #271 CDN URL for leancloud (#541)
  • Fix localsearch wrong article url (#540)
  • Fix #537 The algolia search pagination's opacity is 0 (#538)
  • Fix #181 and #333 Right margin bug in mobile style (#534)
  • Fix #531, format code in _config.yml (#532)
  • Fix for metadata generation at index (#529)
  • Fix inline code font-size mismatch within headers (#514)
  • Fix #364 Copy code on mobile platform (#489)
  • Fixed Disqus URL. Again. A little bit hard. (#506)
  • Fixed Disqus bug if in permalink exists symbol «'» . (#504)
  • Fixed W3 validator errors. (#501)
  • Added disable_baidu_transformation option. (#500)
  • Fixed sidebar under Pisces / Gemini schemes for IE 11. (#498)
  • Fix submenu when path name is same (#497)
  • Menu external url (#476)
  • Fix #495, #473 and #231 url_for() misuse (#496)
  • Improve highlighting for Lisps (#493)
  • Define "builtin-name" for Lisp languages (#492)

For full changes, see the comparison between 6.6.0 and 6.7.0

Detailed changes for NexT v6.7.0

Breaking Changes

Joined post_copyright and creative_commons options into one.

Old configuration:

-# Creative Commons 4.0 International License.
-# http://creativecommons.org/
-# Available: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | zero
-#creative_commons: by-nc-sa
-#creative_commons:

-# Declare license on posts
-post_copyright:
- enable: false
- license: <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="external nofollow" target="_blank">CC BY-NC-SA 4.0</a>

New configuration:

# Creative Commons 4.0 International License.
# https://creativecommons.org/share-your-work/licensing-types-examples/
# Available: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | zero
creative_commons:
license: by-nc-sa
sidebar: false
post: false

Global improvement for ExtURL (#463)

From now no need to use exturl tag – all external links will be automatically replaced in posts (and in templates) with spanned links if exturl option will be enabled.

Old configuration:

 social_icons:
enable: true
icons_only: false
transition: false
- # Dependencies: exturl: true in Tags Settings section below.
- # To encrypt links above use https://www.base64encode.org
- # Example encoded link: `GitHub: aHR0cHM6Ly9naXRodWIuY29tL3RoZW1lLW5leHQ= || github`
- exturl: false

-# External URL with BASE64 encrypt & decrypt.
-exturl: false

New configuration:

# Automatically add external URL with BASE64 encrypt & decrypt.
exturl: false

How to use?

In NexT _config.yml:

# Reward
# If true, reward would be displayed in every article by default.
# And you can show or hide one article specially through add page variable `reward: true/false`.
reward:
enable: false
#comment: Donate comment here
#wechatpay: /images/wechatpay.jpg
#alipay: /images/alipay.jpg
#bitcoin: /images/bitcoin.png

Or special config in .md:

---
title: title-name
date: 2018-11-05
...
reward: true/false
---

Features

  • Add gitalk comment system (#464)
  • Add PDFObject and PDF.js support (#466)

Optimizations

  • Format code in _config.yml (#469)
  • Format code & change default CDN for pdfobject (#470)
  • Add enable option for read_more_btn (#446)

Bug Fixes

  • Fix the error when the Chinese is included in the hash (#452)
  • Fix images in an anchor being wrapped as fancybox #399 and #394 (#468)
  • Fix mathjax overflow (#488)

For full changes, see the comparison between 6.5.0 and 6.6.0

Detailed changes for NexT v6.6.0

Breaking Changes

Add options for canvas-nest (#441)

Old configuration:

-canvas_nest: false

New configuration:

canvas_nest:
enable: false
onmobile: true # display on mobile or not
color: '0,0,255' # RGB values, use ',' to separate
opacity: 0.5 # the opacity of line: 0~1
zIndex: -1 # z-index property of the background
count: 99 # the number of lines

Features

  • Feat: Add sina weibo option to social block in sidebar settings (#456)
  • Add beian option at footer for Chinese website owner (#438)
  • Add growingio analytics (#354)
  • Add enable option for read_more_btn (#446)

Bug Fixes

  • Fix bugs turn on the future of google calendar (#407)
  • Delete Bootcss settings and docs (#439)
  • Fixes for b2t & variables refactoring. (#434)
  • Fix for offset option. [2] (#433)
  • Fixed resize filter & affix & back to top for sidebar (#431, #432)

For full changes, see the comparison between 6.4.2 and 6.5.0

Detailed changes for NexT v6.5.0

Improvements

  • Refactored .exturl class & improve variables for a tags. (#422) (#423) (#424)
  • Refactor group-pictures (#403)
  • New Crowdin translations (#405)

Bug Fixes

  • Fixed & Optimized for #426. (#431)
  • Fixed: Break words on PC and Firefox (#429)
  • Fixes for sidebar in Pisces / Gemini schemes. (#418)
  • Update the domain name of the busuanzi (#417)
  • Fix alignments for exturl with mobile_layout_economy option. (#411)
  • Fix disqus lazyload not working in Safari (#406)
  • Fix TOC displayed in Overview (#408)
  • Sidebar affix not work when set display to always [fix added] (#328, 3bd5ab5)

For full changes, see the comparison between 6.4.1 and 6.4.2

Detailed changes for NexT v6.4.2

0%