NexT

Theme for Hexo

💥 Breaking Changes

Use em instead of px as the font size unit (#1006)

font:
...
# Font options:
# `external: true` will load this font family from `host` above.
# `family: Times New Roman`. Without any quotes.
- # `size: x.x`. Use `px` as unit. Default: 16
+ # `size: x.x`. Use `em` as unit. Default: 1 (16px)

Remove fastclick support (#995)

-# Polyfill to remove click delays on browsers with touch UIs.
-# Dependencies: https://github.com/theme-next/theme-next-fastclick
-fastclick: false
...
vendors:
...
- # Internal version: 1.0.6
- # See: https://github.com/ftlabs/fastclick
- # Example:
- # fastclick: //cdn.jsdelivr.net/npm/fastclick@1/lib/fastclick.min.js
- # fastclick: //cdnjs.cloudflare.com/ajax/libs/fastclick/1.0.6/fastclick.min.js
- fastclick:

Remove baidushare support (#967)

-# Baidu Share (does not support https).
-baidushare:
- #type: button
- #type: slide

Refactor several components in _config.yml (#965)

Remove two options for simplicity

avatar:
...
- # The value of opacity should be choose from 0 to 1 to set the opacity of the avatar.
- opacity: 1
...
codeblock:
- # Manual define the border radius in codeblock, leave it blank for the default value: 1
- border_radius:

Refactor two options

-custom_logo:
- enable: false
- image: #/uploads/custom-logo.jpg
+custom_logo: #/uploads/custom-logo.jpg
...
-# Code Highlight theme
-# Available values: normal | night | night eighties | night blue | night bright
-# https://github.com/chriskempson/tomorrow-theme
-highlight_theme: normal
codeblock:
+ # Code Highlight theme
+ # Available values: normal | night | night eighties | night blue | night bright
+ # See: https://github.com/chriskempson/tomorrow-theme
+ highlight_theme: normal

Refactor option and parameters for page loading progress bar

-pace: false
-# Themes list:
-# pace-theme-big-counter | pace-theme-bounce | pace-theme-barber-shop | pace-theme-center-atom
-# pace-theme-center-circle | pace-theme-center-radar | pace-theme-center-simple | pace-theme-corner-indicator
-# pace-theme-fill-left | pace-theme-flash | pace-theme-loading-bar | pace-theme-mac-osx | pace-theme-minimal
-pace_theme: pace-theme-minimal
+pace:
+ enable: false
+ # Themes list:
+ # big-counter | bounce | barber-shop | center-atom | center-circle | center-radar | center-simple
+ # corner-indicator | fill-left | flat-top | flash | loading-bar | mac-osx | material | minimal
+ theme: minimal

Refactor sidebar-dimmer (#964)

sidebar:
...
- # Click any blank part of the page to close sidebar (only for Muse | Mist).
- dimmer: false

Make sidebar position optional for all schemes (#952)

sidebar:
- # Sidebar Position, available values: left | right (only for Pisces | Gemini).
+ # Sidebar Position.
position: left
#position: right

🌀 External Changes

  • Configure JSHint (#1035)
  • Update reading_progress vendor version number (#946)

🌟 New Features

  • Console reminder if new version released (#1002)
  • Add medium-zoom support (#987)
  • Add new tag caniuse (#984)
  • Add new filter type theme_inject (#868)

⭐ Features

  • Drop IE support (#1023)
  • Refactor search services (#1012)
  • Disable selection for highlight meta (#977)
  • New copy_button style: mac (#968)

🛠 Improvements

  • Revert using one line macro (#1033)
  • Use HTML5 syntax instead of XHTML (#1032)
  • Reduce unnecessary blank lines in templates (#1030)
  • Refactor share & analytics (#1022)
  • Obey ESLint rules (#1019)
  • Refactor search services (#1012)
  • Optimize stylesheet (#1013)
  • Refactor comments using theme_inject (#998)
  • Refactor Muse menu on mobile (#1014)
  • Make external google font better (#1011)
  • Remove unnecessary files after hexo generate (#991)
  • Remove all hardcoded font sizes (#1005)
  • Optimize the loading of next-boot.js and some 3rd-party plugins (#990)
  • Refactor layout (#985)
  • Cache sidebar site-overview (#971)
  • Update devDependencies (#966)
  • Allow delayed loading of three.js (#935)
  • Repalce pseudo-classes with pseudo-elements (#953)
  • Rebuild ALL-CONTRIBUTORS-LIST in README.md (#944)
  • Group Pictures layout (#931)
  • Group Pictures calculation (#929)

🐞 Bug Fixes

  • Fix a bug when theme.font has empty family value (#1015)
  • Fix site title's external font family bug (#1007)
  • Fix list rendering problem when the list item contains mathjax formulae (#1004)
  • Make lazyload working again (#957)
  • Load velocity only if motion is enabled (#951)

📖 Documentation

  • Update docs in _config.yml (#1034)
  • Update docs (#1001)
  • Create page settings part in _config.yml (#997)
  • Update docs (#978)
  • Create Awesome list (#947)
  • Update docs in _config.yml (#959)

🌍 Localization

  • New Crowdin translations (#940)

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

Detailed changes for NexT v7.3.0

💥 Breaking Changes

Remove gitment support (#939)

In NexT _config.yml:

-# Gitment
-# Introduction: https://github.com/imsun/gitment
-gitment:
- enable: false
- mint: true # RECOMMEND, A mint on Gitment, to support count, language and proxy_gateway
- count: true # Show comments count in post meta area
- lazy: false # Comments lazy loading with a button
- cleanly: false # Hide 'Powered by ...' on footer, and more
- language: # Force language, or auto switch by theme
- github_user: # MUST HAVE, Your Github Username
- github_repo: # MUST HAVE, The name of the repo you use to store Gitment comments
- client_id: # MUST HAVE, Github client id for the Gitment
- client_secret: # EITHER this or proxy_gateway, Github access secret token for the Gitment
- proxy_gateway: # Address of api proxy, See: https://github.com/aimingoo/intersect
- redirect_protocol: # Protocol of redirect_uri with force_redirect_protocol when mint enabled

Remove Han support (#912)

In NexT _config.yml:

-# Han Support
-# Dependencies: https://github.com/theme-next/theme-next-han
-han: false
-
- # 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:

🌀 External Changes

  • Remove unneeded leancloud-storage in theme.vendors (#927)
  • Make Valine available (#926)
  • Upgrade the internal jQuery to v3.4.1 (#903)

⭐ Features

  • Provide an optional icon option for tags at the bottom of the post (#896)

🛠 Improvements

  • Refactoring post-meta-divider (#937)
  • Remove unnecessary statements in swig templates (#928)
  • Use hyphen instead of en dash (#907)
  • Ignore leancloud visitor from localhost (#916)
  • Fix word spelling (#913)
  • Correct the outdated version number of FontAwesome (#905)
  • Improve page rendering by deferring disqus loading (#891)
  • Make Tabs flexible (#704)
  • Restore the previous selection for copy_button (#890)

🐞 Bug Fixes

  • Refactoring post-meta-divider (#937)
  • Fix referer used by LiveRe on non-post pages (#934)
  • Force include source/lib/font-awesome/ (#832)

📖 Documentation

  • Add detailed description about RSS (#895)

For full changes, see the comparison between v7.1.2 and v7.2.0

Detailed changes for NexT v7.2.0

🌀 External Changes

  • Change the internal path of quicklink (#883)
  • Upgrade Facebook Graph API to v3.3 (#876)
  • Make symbols_count_time faster (#862)

🐞 Bug Fixes

  • Force HTTPS of google-analytics.swig. Again. (#881)
  • Fix Github gist bug with copy button (#861)

📖 Documentation

  • Expressions and translations in CONTRIBUTING.md (#885)
  • Fix a few typo errors in docs (#864)

For full changes, see the comparison between v7.1.1 and v7.1.2

Detailed changes for NexT v7.1.2

Happy International Workers' Day! \(^_^)/

🛠 Improvements

  • Optimize images (#802)
  • Update ICP url (#827)
  • Fix typo in config comments (#833)

🐞 Bug Fixes

  • CSS bug in Codeblock if string longer than viewport (#803)
  • Option onmoble for sidebar does not work (#808)
  • Fixes with mobile_layout_economy option:
    • List items appeared correctly (#817)
    • Wrong top padding (#828)
    • Alignments for several elements (#849)

🌍 Localization

  • Spanish translation (#801, #806)
  • Improve French translation (#818, #819)
  • Persian translation (#853)

For full changes, see the comparison between v7.1.0 and v7.1.1

Detailed changes for NexT v7.1.1

0%