NexT

Theme for Hexo

💥 Breaking Changes

  • Add prism highlight support (#23)
    codeblock:
    ...
    + # See: https://github.com/PrismJS/prism/tree/master/themes
    + prism:
    + light: prism
    + dark: prism-dark

    vendors:
    ...
    + # Prism
    + # prism: //cdn.jsdelivr.net/npm/prismjs@1/prism.min.js
    + # prism: //cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/prism.min.js
    + prism:
  • Refactor layout (#31)

🌟 New Features

  • Add noscript-warning (6159874)
  • Refactor next_js to support jsdelivr & unpkg (ae21b8b)
    vendors:
    - # Internal path prefix.
    - _internal: lib
    + # Available values: local, jsdelivr, unpkg
    + internal: local

⭐ Features

  • Optimize copy-btn: always provide feedback (c7ea1ab)
    codeblock:
    copy_button:
    - # Show text copy result.
    - show_result: false
  • Remove sidebar.onmobile option (5d2f92e)
    sidebar:
    - # Enable sidebar on narrow view (only for Muse | Mist).
    - onmobile: false
  • Refactor motion (b39ba18)

🐞 Bug Fixes

  • Some minor fixes (5f6271d)
  • Fix invalid selector (b0d92b7)
  • Fix footer & pagination size (413e975)
  • Fix the missing url_for (52111f7)
  • Fix code highlight when copycode disabled (3e8b35a)
  • Some minor fixes (b01a4ed)
  • Fix link-grid overflow & darkmode note color (44ba30e)
  • Fix Pisces sidebar width (b2ae986)
  • Fix compatibility issue with iOS 10-12 (6e60221)

🛠 Improvements

  • Optimize the behavior of post_meta when use_date_for_updated is enabled (241fe98)
  • Optimize pagination style (420095b)
  • Optimize darkmode code color (f055e38)
  • Optimize darkmode kbd color (6d5d471)
  • Optimize the style of custom-logo and sidebar-inner (d194052)
  • Optimize the style of label tag (8e080e7)
  • Optimize darkmode medium-zoom style (e57bf45)
  • Refactor sidebar motion (45d6e04)
  • Optimize algolia-pagination style (701f628)
  • Optimize header-anchor style (6bd195a)
  • Optimize logo-line animation (b34b8e5)
  • Optimize back-to-top style (b8e2ce8)
  • Optimize sidebar-dimmer & search-popup animation (8a5643b)
  • Optimize Gemini & highlight style (e01a204)
  • Optimize post-reward style (3535527)
  • Optimize blockquote-center & post-tags style (0259b95)
  • Optimize sidebar-panel animation (327d8bf)
  • Optimize header animation (5b72a1d)

🌀 External Changes

  • Update dependency eslint to v7.3.1 (#21)
  • Update dependency eslint-config-theme-next to v1.2.0 (#32)
  • Update CDN URL (b9a822c)
  • Update pjax version (ee3be0a)

📖 Documentation

  • Update README.md (073ddc0)
  • Update docs in _config.yml (ee7d13e)
  • Update docs (3aa2a21)
  • Update ISSUE_TEMPLATE (40e32d1)
  • Update README.md (7d25c16)

🌍 Localization

  • New Crowdin translations (#22)

For full changes, see the comparison between v8.0.0-rc.3 and v8.0.0-rc.4

Detailed changes for NexT v8.0.0-rc.4

💥 Breaking Changes

  • Fix darkmode tag-cloud color (cbcd3f0)
    # TagCloud settings for tags page.
    tagcloud:
    - # All values below are same as default, change them by yourself.
    min: 12 # Minimum font size in px
    max: 30 # Maximum font size in px
    - start: "#ccc" # Start color (hex, rgba, hsla or color keywords)
    - end: "#111" # End color (hex, rgba, hsla or color keywords)
    - amount: 200 # Amount of tags, change it if you have more than 200 tags
    + amount: 200 # Total amount of tags
    + orderby: name # Order of tags
    + order: 1 # Sort order
  • Update Valine CDN URL (390058e)
    valine:
    ...
    - notify: false # Mail notifier
    - verify: false # Verification code

🐞 Bug Fixes

  • Some minor fixes (bf3666f)
  • Fix darkmode pagination & badge style (721e5b9)
  • Fix figcaption text overflow (4be820a)
  • Fix pandoc rendering error (17502da)
  • Fix json filter (4013450)
  • Decode TOC link (0d2b3af)

🛠 Improvements

  • Optimize copy-btn & post-edit icon (73dff7c)
  • Run lebab (74fa9ec)
  • Optimize link-grid (ade4f44)

🌀 External Changes

  • Update dependency eslint to v7.1.0 (#11)
  • Update dependency js-yaml to v3.14.0 (#10)

📖 Documentation

  • Update docs for i18n (36808b9)

🌍 Localization

  • New Crowdin translations (#8)

For full changes, see the comparison between v8.0.0-rc.2 and v8.0.0-rc.3

Detailed changes for NexT v8.0.0-rc.3

💥 Breaking Changes

  • Allow empty menu items (a527bfd)
    -override: false

    menu:
    - home: / || fa fa-home
    + #home: / || fa fa-home
    #about: /about/ || fa fa-user
    #tags: /tags/ || fa fa-tags
    #categories: /categories/ || fa fa-th
    - archives: /archives/ || fa fa-archive
    + #archives: /archives/ || fa fa-archive
    #schedule: /schedule/ || fa fa-calendar
    #sitemap: /sitemap.xml || fa fa-sitemap
    #commonweal: /404/ || fa fa-heartbeat
  • Update options of Valine (6e6fc74)
    valine:
    - appid: # Your leancloud application appid
    - appkey: # Your leancloud application appkey
    + appId: # Your leancloud application appid
    + appKey: # Your leancloud application appkey
    ...
    - guest_info: nick,mail,link # Custom comment header
    + meta: # Custom comment header
    + - nick
    + - mail
    + - link
  • Support using highlight.js (9fdaba2)
  • Allow different highlight style for dark mode (03e50d0)
    codeblock:
    ...
    - # Available values: normal | night | night eighties | night blue | night bright | solarized | solarized dark | galactic
    - # See: https://github.com/chriskempson/tomorrow-theme
    - highlight_theme: normal
    + # See: https://github.com/highlightjs/highlight.js/tree/master/src/styles
    + theme:
    + light: default
    + dark: dark

🐞 Bug Fixes

  • Fix: bind DOMContentLoaded event on document instead of window (cd5e541)
  • Fix: bind pjax event on document instead of window (75695df)
  • Fix tables text align (00c64cc)

🛠 Improvements

  • Use npm to determine the latest version (2de50b4)
  • Optimize reward button style (e61c28d)
  • Remove highlight-container (9527ef6)

🌀 External Changes

  • Remove canvas_nest (632768c)

📖 Documentation

  • Update README (1fd2923)
  • Update docs (3dcd359)

For full changes, see the comparison between v8.0.0-rc.1 and v8.0.0-rc.2

Detailed changes for NexT v8.0.0-rc.2

💥 Breaking Changes

  • Migrate to Font-Awesome 5 (https://github.com/theme-next/hexo-theme-next/pull/1438)
  • Change the extension of the template files from swig to njk

🐞 Bug Fixes

  • Fix exturl title (d9c6d8b)

🛠 Improvements

  • Optimize dark mode blockquote style (b0bd2dd)
  • Optimize main-menu & sidebar-nav style (ca19a9d)

Detailed changes for NexT v8.0.0-rc.1

0%