Skip to content

Commit 4f75fe5

Browse files
committed
2018 NY update.
1. Update version to 5.1.4 2. Add attention hint for rebase 6.0.0 to config.yml and console log. 3. Edit links to 6.0.0 in readme file.
1 parent f7f4138 commit 4f75fe5

File tree

5 files changed

+25
-9
lines changed

5 files changed

+25
-9
lines changed

README.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
# <div align="right"><a title="New «NexT» 6.0.0 version [Reloaded]" href="https://github.com/theme-next/hexo-theme-next"><img align="center" width="56" height="56" src="../../blob/master/source/images/logo.svg"></a></div>
2-
3-
<h1 align="center">NexT</h1>
1+
<h1 align="center"><a title="New «NexT» 6.0.0 version [Reloaded]" href="https://github.com/theme-next/hexo-theme-next">NexT</a></h1>
42

53
<p align="center">NexT is a high quality elegant <a href="http://hexo.io">Hexo</a> theme. It is crafted from scratch, with love.</p>
64

75
[![gitter-image]][gitter-url]
8-
[![mnt-image]][commits-url]
6+
[![mnt-image]](https://github.com/theme-next/hexo-theme-next)
97
[![travis-image]][travis-url]
108
[![rel-image]][releases-url]
119
[![hexo-image]][hexo-url]
@@ -109,7 +107,7 @@ More NexT examples [here](https://github.com/iissnan/hexo-theme-next/issues/119)
109107
theme: next
110108

111109
### Bugs
112-
For those who also encounter **Error: Cannot find module 'hexo-util'** [issue](https://github.com/iissnan/hexo-theme-next/issues/1490), please check your NPM version.
110+
For those who also encounter **Error: Cannot find module 'hexo-util'** [issue](https://github.com/iissnan/hexo-theme-next/issues/1490), please check your NPM version.
113111

114112
- `> 3`: Still not work. Please remove `node_modules` directory and reinstall using `npm install`.
115113
- `< 3`: Please add `hexo-util` explicitly via `npm install --save-dev hexo-util` to you site package deps.
@@ -135,7 +133,7 @@ Currently, it is not smooth to update NexT theme from pulling or downloading new
135133
1. Configurations are splited into two pieces
136134
2. Users maybe confuse which place should be for options
137135

138-
In order to resolve this issue, NexT will take advantage of Hexo [Data files](https://hexo.io/docs/data-files.html). Because Data files is introduced in Hexo 3, so you need upgrade Hexo to 3.0 (or above) to use this feature.
136+
In order to resolve this issue, NexT will take advantage of Hexo [Data files](https://hexo.io/docs/data-files.html). Because Data files is introduced in Hexo 3, so you need upgrade Hexo to 3.0 (or above) to use this feature.
139137

140138
If you prefer Hexo 2.x, you can still use the old approach for configurations. NexT is still compatible with Hexo 2.x.
141139

_config.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# ===============================================================
2+
# ========================= ATTENTION! ==========================
3+
# ===============================================================
4+
# NexT repository is moving here: https://github.com/theme-next
5+
# ===============================================================
6+
# It's rebase to v6.0.0 and future maintenance will resume there
7+
# ===============================================================
8+
19
# ---------------------------------------------------------------
210
# Theme Core Configuration Settings
311
# ---------------------------------------------------------------
@@ -802,4 +810,4 @@ js: js
802810
images: images
803811

804812
# Theme version
805-
version: 5.1.3
813+
version: 5.1.4

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "isn-next",
3-
"version": "5.1.3",
3+
"version": "5.1.4",
44
"homepage": "https://github.com/iissnan/hexo-theme-next",
55
"authors": [
66
"iissnan <[email protected]>"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hexo-theme-next",
3-
"version": "5.1.3",
3+
"version": "5.1.4",
44
"description": "Elegant theme for Hexo",
55
"main": "index.js",
66
"directories": {

scripts/merge-configs.js

+10
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,13 @@ hexo.on('generateBefore', function () {
1818
}
1919
}
2020
});
21+
22+
hexo.on('generateAfter', function () {
23+
hexo.log.warn("===============================================================");
24+
hexo.log.warn("========================= ATTENTION! ==========================");
25+
hexo.log.warn("===============================================================");
26+
hexo.log.warn(" NexT repository is moving here: https://github.com/theme-next ");
27+
hexo.log.warn("===============================================================");
28+
hexo.log.warn(" It's rebase to v6.0.0 and future maintenance will resume there");
29+
hexo.log.warn("===============================================================");
30+
});

0 commit comments

Comments
 (0)