mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
140 lines
6.0 KiB
Markdown
140 lines
6.0 KiB
Markdown
<div align="right">
|
|
Language:
|
|
🇺🇸
|
|
<a title="Chinese" href="docs/zh-CN/README.md">🇨🇳</a>
|
|
<a title="Russian" href="docs/ru/README.md">🇷🇺</a>
|
|
</div>
|
|
|
|
# <div align="center"><a title="NexT website repository" href="https://github.com/next-theme/theme-next-docs"><img align="center" width="56" height="56" src="https://raw.githubusercontent.com/next-theme/hexo-theme-next/master/source/images/logo.svg?sanitize=true"></a> e x T</div>
|
|
|
|
<p align="center">
|
|
«NexT» is a high quality elegant <a href="https://hexo.io">Hexo</a> theme. It is crafted from scratch with love.
|
|
<br>
|
|
<br>
|
|
<a href="https://www.npmjs.com/package/hexo-theme-next"><img src="https://img.shields.io/npm/v/hexo-theme-next?style=flat-square"></a>
|
|
<a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-%3E=10.9.0-green?style=flat-square"></a>
|
|
<a href="https://hexo.io"><img src="https://img.shields.io/badge/hexo-%3E=4.0.0-blue?style=flat-square&logo=hexo"></a>
|
|
<a href="https://github.com/next-theme/hexo-theme-next/blob/master/LICENSE.md"><img src="https://img.shields.io/badge/license-%20AGPL-orange?style=flat-square&logo=gnu"></a>
|
|
<img src="https://img.shields.io/github/workflow/status/next-theme/hexo-theme-next/Linter?style=flat-square">
|
|
<br>
|
|
<img src="https://user-images.githubusercontent.com/16272760/83972923-98baae80-a915-11ea-8142-3cf875dad8bf.png">
|
|
</p>
|
|
|
|
## Live Preview
|
|
|
|
<p align="center">
|
|
💟 <a href="https://theme-next.js.org/muse/">Muse</a> | 🔯 <a href="https://theme-next.js.org/mist/">Mist</a> | ♓️ <a href="https://theme-next.js.org/pisces/">Pisces</a> | ♊️ <a href="https://theme-next.js.org">Gemini</a>
|
|
<br>
|
|
<br>
|
|
More «NexT» examples <a href="https://github.com/next-theme/awesome-next#live-preview">here</a>.
|
|
</p>
|
|
|
|
## Installation
|
|
|
|
The simplest way to install is to clone the entire repository:
|
|
|
|
```sh
|
|
$ cd hexo
|
|
$ git clone https://github.com/next-theme/hexo-theme-next themes/next
|
|
```
|
|
|
|
Or you can see [detailed installation instructions][docs-installation-url] if you want any other variant.
|
|
|
|
## Plugins
|
|
|
|
NexT supports a large number of third-party plugins, which can be easily configured.
|
|
|
|
For example, if you want to enable `pjax` on your site, just set `pjax` to `true` in NexT config file:
|
|
|
|
```yml
|
|
# Easily enable fast Ajax navigation on your website.
|
|
# Dependencies: https://github.com/next-theme/pjax
|
|
pjax: true
|
|
```
|
|
|
|
Then visit the «Dependencies» link to get the installation instructions of this module.
|
|
|
|
### Configure CDN
|
|
|
|
If you want to specify a CDN link for any plugins, you need to set / update the CDN link.
|
|
|
|
For example, if you want to use `mediumzoom` and load the plugin via CDN, go to NexT config and see:
|
|
|
|
```yml
|
|
vendors:
|
|
# ...
|
|
# Some contents...
|
|
# ...
|
|
mediumzoom: # Set or update mediumzoom CDN URL.
|
|
```
|
|
|
|
## Update
|
|
|
|
NexT releases new versions every month. You can update to latest master branch by the following command:
|
|
|
|
```sh
|
|
$ 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][docs-data-files-url] feature.\
|
|
However, you can bypass update errors by using the `Commit`, `Stash` or `Reset` commands for local changes. See [here](https://stackoverflow.com/a/15745424/5861495) how to do it.
|
|
|
|
**If you want to update from v5.x / v7.x to the latest version, read [this][docs-update-5-1-x-url].**
|
|
|
|
## Feedback
|
|
|
|
* Visit the [Awesome NexT][awesome-next-url] list to share plugins and tutorials with other users.
|
|
* Join our [Gitter][gitter-url] chats.
|
|
* [Add or improve translation][i18n-url] in few seconds.
|
|
* Report a bug in [GitHub Issues][issues-bug-url].
|
|
* Request a new feature on [GitHub][issues-feat-url].
|
|
* Vote for [popular feature requests][feat-req-vote-url].
|
|
|
|
## Contributing
|
|
|
|
We welcome you to join the development of NexT. Please see [contributing document][contributing-document-url]. 🤗
|
|
|
|
Also, we welcome Issue or PR to our [official-plugins][official-plugins-url].
|
|
|
|
## Contributors
|
|
|
|
- [iissnan/hexo-theme-next](https://github.com/iissnan/hexo-theme-next/graphs/contributors)
|
|
- [theme-next/hexo-theme-next](https://github.com/theme-next/hexo-theme-next/graphs/contributors)
|
|
- [next-theme/hexo-theme-next](https://github.com/next-theme/hexo-theme-next/graphs/contributors)
|
|
|
|
## Thanks
|
|
|
|
<p align="center">
|
|
«NexT» send special thanks to these great services that sponsor our core infrastructure:
|
|
<br>
|
|
<br>
|
|
<a href="https://github.com"><img align="center" width="100" src="https://github.githubassets.com/images/modules/logos_page/GitHub-Logo.png"></a>
|
|
|
|
<a href="https://www.netlify.com"><img align="center" width="150" src="https://cdn.netlify.com/15ecf59b59c9d04b88097c6b5d2c7e8a7d1302d0/1b6d6/img/press/logos/full-logo-light.svg"></a>
|
|
<br>
|
|
<br>
|
|
<sub>GitHub allows us to host the Git repository, Netlify allows us to distribute the documentation.</sub>
|
|
<br>
|
|
<br>
|
|
<a href="https://crowdin.com"><img align="center" width="180" src="https://support.crowdin.com/assets/logos/crowdin-logo1-small.png"></a>
|
|
<br>
|
|
<br>
|
|
<sub>Crowdin allows us to translate conveniently the documentation.</sub>
|
|
</p>
|
|
|
|
[docs-installation-url]: https://theme-next.js.org/docs/getting-started/installation.html
|
|
[docs-data-files-url]: https://theme-next.js.org/docs/getting-started/configuration.html
|
|
[docs-update-5-1-x-url]: https://theme-next.js.org/docs/getting-started/update-from-v5.html
|
|
|
|
[gitter-url]: https://gitter.im/hexo-next
|
|
[i18n-url]: https://crowdin.com/project/hexo-theme-next
|
|
|
|
[awesome-next-url]: https://github.com/next-theme/awesome-next
|
|
[issues-bug-url]: https://github.com/next-theme/hexo-theme-next/issues/new?assignees=&labels=Bug&template=bug-report.md
|
|
[issues-feat-url]: https://github.com/next-theme/hexo-theme-next/issues/new?assignees=&labels=Feature+Request&template=feature-request.md
|
|
[feat-req-vote-url]: https://github.com/next-theme/hexo-theme-next/issues?q=is%3Aopen+is%3Aissue+label%3A%22Feature+Request%22
|
|
|
|
[contributing-document-url]: https://github.com/next-theme/hexo-theme-next/blob/master/.github/CONTRIBUTING.md
|
|
[official-plugins-url]: https://github.com/next-theme
|