After the installation, open Hexo config file and set theme variable to next.
theme:next
Configuration
It is not recommended to directly modify any files in the NexT theme. Because this may cause errors (e.g. merge conflicts), and the modified files may be discarded when upgrading the theme.
At present, NexT encourages users to use the Alternate Theme Config to configure NexT. And it's easy to customize the layout or style of NexT using Custom Files.
Plugins
Plugins extend and expand the functionality of NexT. There are two types of plugins: core plugins and third-party plugins. The core plugins are required by the basic functions of NexT. Third-party plugins provide a large number of optional features.
Configuring these plugins is very easy. For example, if you want to enable pjax on your site, just set pjax to true in NexT config file:
# Easily enable fast Ajax navigation on your website.# For more information: https://github.com/next-theme/pjaxpjax:true
Configure CDN
Third-party plugins are loaded from CDNJS CDN by default. We also provide other optional CDNs, including the famous UNPKG and jsDelivr.
For example, if you want to use unpkg instead of cdnjs as the default CDN provider, you need to edit the following settings in NexT config file:
vendors:# ...# Some contents...# ...plugins:unpkg
Update
A new version of NexT will be released every month. Please read the release notes before updating the theme. You can update NexT by the following command.
Install the latest version through npm:
cd hexo-site
npm install hexo-theme-next@latest
Or update to the latest master branch:
cd themes/next
git pull
If you want to update from v5.x / v7.x to the latest version, read this.
Community
Connect with us and be part of our growing community!
The npm package hexo-theme-next receives a total of 2,507 weekly downloads. As such, hexo-theme-next popularity was classified as popular.
We found that hexo-theme-next demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 0 open source maintainers collaborating on the project.
Package last updated on 01 Jan 2025
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
A malicious npm campaign is targeting Ethereum developers by impersonating Hardhat plugins and the Nomic Foundation, stealing sensitive data like private keys.