Permalink
Browse files

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.
  • Loading branch information...
ivan-nginx committed Jan 1, 2018
1 parent f7f4138 commit 4f75fe5ee9145b1c37e7a7e2372865396d64b7b4
Showing with 25 additions and 9 deletions.
  1. +4 −6 README.md
  2. +9 −1 _config.yml
  3. +1 −1 bower.json
  4. +1 −1 package.json
  5. +10 −0 scripts/merge-configs.js
View
@@ -1,11 +1,9 @@
# <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>
<h1 align="center">NexT</h1>
<h1 align="center"><a title="New «NexT» 6.0.0 version [Reloaded]" href="https://github.com/theme-next/hexo-theme-next">NexT</a></h1>
<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>
[![gitter-image]][gitter-url]
[![mnt-image]][commits-url]
[![mnt-image]](https://github.com/theme-next/hexo-theme-next)
[![travis-image]][travis-url]
[![rel-image]][releases-url]
[![hexo-image]][hexo-url]
@@ -109,7 +107,7 @@ More NexT examples [here](https://github.com/iissnan/hexo-theme-next/issues/119)
theme: next
### Bugs
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.
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.
- `> 3`: Still not work. Please remove `node_modules` directory and reinstall using `npm install`.
- `< 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
1. Configurations are splited into two pieces
2. Users maybe confuse which place should be for options
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.
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.
If you prefer Hexo 2.x, you can still use the old approach for configurations. NexT is still compatible with Hexo 2.x.
View
@@ -1,3 +1,11 @@
# ===============================================================
# ========================= ATTENTION! ==========================
# ===============================================================
# NexT repository is moving here: https://github.com/theme-next
# ===============================================================
# It's rebase to v6.0.0 and future maintenance will resume there
# ===============================================================
# ---------------------------------------------------------------
# Theme Core Configuration Settings
# ---------------------------------------------------------------
@@ -802,4 +810,4 @@ js: js
images: images
# Theme version
version: 5.1.3
version: 5.1.4
View
@@ -1,6 +1,6 @@
{
"name": "isn-next",
"version": "5.1.3",
"version": "5.1.4",
"homepage": "https://github.com/iissnan/hexo-theme-next",
"authors": [
"iissnan <iissnan@gmail.com>"
View
@@ -1,6 +1,6 @@
{
"name": "hexo-theme-next",
"version": "5.1.3",
"version": "5.1.4",
"description": "Elegant theme for Hexo",
"main": "index.js",
"directories": {
View
@@ -18,3 +18,13 @@ hexo.on('generateBefore', function () {
}
}
});
hexo.on('generateAfter', function () {
hexo.log.warn("===============================================================");
hexo.log.warn("========================= ATTENTION! ==========================");
hexo.log.warn("===============================================================");
hexo.log.warn(" NexT repository is moving here: https://github.com/theme-next ");
hexo.log.warn("===============================================================");
hexo.log.warn(" It's rebase to v6.0.0 and future maintenance will resume there");
hexo.log.warn("===============================================================");
});

0 comments on commit 4f75fe5

Please sign in to comment.