«NexT» is a high quality elegant Hexo theme. It is crafted from scratch, with love.
Live Preview
💟 Muse scheme: LEAFERx | Alex LEE | Miaia🔯 Mist scheme: Jeff | uchuhimo | xirong♓ Pisces scheme: Vi | Acris | Jiaxi He♊ Gemini scheme: Ivan.Nginx | Raincal | Dandy
More «NexT» examples here.
Installation
Simplest way to install is by cloning whole repository:
$ cd hexo
$ git clone https://github.com/theme-next/hexo-theme-next themes/next
Or you can see detailed installation instructions if you want any other variant.
Plugins
In NexT config now you can find dependencies on each module which was moved to external repositories which can be found by main organization link.
For example, you want to use fancybox
in your site. Go to NexT config and see:
# Fancybox
# Dependencies: https://github.com/theme-next/theme-next-fancybox
fancybox: false
Then turn on fancybox
and go to «Dependencies» link with installation instructions of this module.
Exceptions
If you use cdn for any plugins, you need to replace your cdn link.
For example, you want to use fancybox
and you configured a cdn link. Go to NexT config and see:
vendors:
# ...
# Some contents...
# ...
fancybox: # Set or update fancybox cdn url.
fancybox_css: # Set or update fancybox cdn url.
Instead of defining main organization link for updates.
Update
You can update to latest master branch by the following command:
$ cd themes/next
$ git pull
And if you see any error message during update (something like «Commit your changes or stash them before you can merge»), recommended to learn Hexo data files feature.
Howbeit, you can bypass update errors by Commit
, Stash
or Discard
local changes. See here how to do it.
If you want to update from v5.1.x to v6.0.x, read here.
Known Bugs
For those who also encounter «Error: Cannot find module 'hexo-util'», please check your NPM version.
> 3
: Still not work? Please removenode_modules
directory and reinstall usingnpm install
.< 3
: Please addhexo-util
explicitly vianpm install --save-dev hexo-util
to you site package deps.
Contributing
Contribution is welcome, feel free to open an issue and fork. Waiting for your pull request.
Feedback
- Ask a question on Stack Overflow.
- Request a new feature on GitHub.
- Vote for popular feature requests.
- Report a bug in GitHub Issues.
- Join to our Gitter / Riot / Telegram chats.
- Follow us with Telegram Channel for latest news.