+0
日增长
15,737
stars
3,497
forks
431
watchers
420
prs
1,854
issues
18
releases
README
This repository is no longer maintained! :warning:
The community-maintained version is here: NexT v6 and v7 :triangular_flag_on_post:
NexT
NexT is a high quality elegant Hexo theme. It is crafted from scratch, with love.
[![gitter-image]][gitter-url]
[![mnt-image]](https://github.com/theme-next/hexo-theme-next)
[![travis-image]][travis-url]
[![rel-image]][releases-url]
[![hexo-image]][hexo-url]
[![lic-image]](LICENSE)
Chinese Documentation
Live Preview
:heart_decoration: Muse scheme: LEAFERx | XiaMo | OAwan
:six_pointed_star: Mist scheme: Jeff | uchuhimo | xirong
:pisces: Pisces scheme: Vi | Acris | Rainy
:gemini: Gemini scheme: Ivan.Nginx | Raincal | Dandy
More NexT examples here.
Installation
1. Change dir to hexo root directory. There must be node_modules, source, themes and other directories:
sh
$ cd hexo
$ ls
_config.yml node_modules package.json public scaffolds source themes
2. Get theme from GitHub. There are several variants to do it:
Download [latest release version][releases-latest-url].
At most cases stable. Recommended for most users.
[![curl-tar-wget-image]][curl-tar-wget-url]
sh
$ mkdir themes/next
$ curl -s https://api.github.com/repos/iissnan/hexo-theme-next/releases/latest | grep tarball_url | cut -d '"' -f 4 | wget -i - -O- | tar -zx -C themes/next --strip-components=1
Download [tagged release version][releases-url].
You must define version. Replace v5.1.2 with any version from [tags list][tags-url].
[![curl-tar-image]][curl-tar-url]
sh
$ mkdir themes/next
$ curl -L https://api.github.com/repos/iissnan/hexo-theme-next/tarball/v5.1.2 | tar -zxv -C themes/next --strip-components=1
[![git-image]][git-url]
sh
$ git clone --branch v5.1.2 https://github.com/iissnan/hexo-theme-next themes/next
Download [latest master branch][download-latest-url].
May be unstable, but includes latest features. Recommended for developers.
[![curl-tar-image]][curl-tar-url]
sh
$ mkdir themes/next
$ curl -L https://api.github.com/repos/iissnan/hexo-theme-next/tarball | tar -zxv -C themes/next --strip-components=1
[![git-image]][git-url]
sh
$ git clone https://github.com/iissnan/hexo-theme-next themes/next
Clone command will give you the whole repository. And in any time you can switch to any tagged release.\
Get tags list:
sh
$ cd themes/next
$ git tag -l
…
v5.0.0
v5.0.1
v5.1.0
v5.1.1
v5.1.2
For example, you want to switch on v5.1.0 [tagged release version][tags-url]. Input the following command:
sh
$ git checkout tags/v5.1.0
Note: checking out 'tags/v5.1.0'.
…
HEAD now on 1f72f68... CSS: Remove global list-style setting of ul
And if you want to switch back on [master branch][commits-url], input this command:
sh
$ git checkout master
3. Set theme in main hexo root config _config.yml file:
theme: next
Bugs
For those who also encounter ErTop issues
#119Your Blogs Here!664 comments · 2015-04-21#2061NexT v6.0.0 [Reloaded]52 comments · 2018-01-01#10845.1.0使用algolia搜索问题32 comments · 2016-08-28#760添加个人二维码14 comments · 2016-03-27#1680[Feature Request]: Add a language-switch button in NexT10 comments · 2017-05-24#1790PWA9 comments · 2017-07-29#670NexT.Mist 模式的主题, 如何实现 sitebar 靠左布局?9 comments · 2016-02-22#2001The code line is too long in code block.7 comments · 2017-11-18
Latest release
v5.1.4 v5.1.4 2018-01-01Updates - UPD: Valine comment system version & configuration (1934, 1959, 1983, 1994) - UPD: Translate from English docs to Chinese docs. (1995, 1996) Features - ADD: NeedMoreShare2 (1913) - ADD: Gitment supported with mint (1919) - ADD: Dutch translation (1961) - ADD: Firestore visitor counter (1978, 1984) - ADD: Vietnamese Language (2011) Bugs - FIX: sidebar asymmetry in Pisces | Gemini schemes. (52710a576deaa46e3c951538598682560a42637b) - FIX: canvas-ribbon error. (1932) - FIX: canvas_ribbon can't display normally (1936) - FIX: issues 1942 (1945), 1946 (1967), 1923