From 4f75fe5ee9145b1c37e7a7e2372865396d64b7b4 Mon Sep 17 00:00:00 2001 From: "Ivan.Nginx" Date: Mon, 1 Jan 2018 14:33:09 +0300 Subject: [PATCH] 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. --- README.md | 10 ++++------ _config.yml | 10 +++++++++- bower.json | 2 +- package.json | 2 +- scripts/merge-configs.js | 10 ++++++++++ 5 files changed, 25 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 77b050d86..1de8710c1 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,9 @@ -#
- -

NexT

+

NexT

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

[![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. diff --git a/_config.yml b/_config.yml index f57c58bd2..479f1eb3d 100755 --- a/_config.yml +++ b/_config.yml @@ -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 diff --git a/bower.json b/bower.json index ec1ec27e0..d884845ea 100644 --- a/bower.json +++ b/bower.json @@ -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 " diff --git a/package.json b/package.json index 33377acb8..8de10902c 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/scripts/merge-configs.js b/scripts/merge-configs.js index 3f6cf71dc..10c1eb6e1 100644 --- a/scripts/merge-configs.js +++ b/scripts/merge-configs.js @@ -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("==============================================================="); +});