Skip to content

shaoyong96/hexo-theme-next

 
 

Repository files navigation

Language: 🇺🇸 🇨🇳 🇷🇺

e x T

«NexT» is a high quality elegant Hexo theme. It is crafted from scratch with love.

Live Preview

💟 Muse | 🔯 Mist | ♓ Pisces | ♊ Gemini

More «NexT» examples here.

Installation

Simplest way to install is by cloning the entire 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, if 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, if 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.
However, you can bypass update errors by using the Commit, Stash or Reset commands for local changes. See here how to do it.

If you want to update from v5.1.x to v6.0.x, read here.

Contributing

Contribution is welcome, feel free to open an issue and fork. Waiting for your pull request.

Feedback

Thanks

«NexT» send special thanks to these great services that sponsor our core infrastructure:

 

GitHub allows us to host the Git repository, Netlify allows us to distribute the documentation.

Crowdin allows us to translate conveniently the documentation.

 

Codacy allows us to run the test suite, BrowserStack allows us to test in real browsers.

About

Elegant and powerful theme for Hexo.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 56.5%
  • JavaScript 42.7%
  • CoffeeScript 0.8%