The community-maintained version is here: NexT v6 and v7 🚩
-
💟 Muse scheme: LEAFERx | XiaMo | OAwan -
🔯 Mist scheme: Jeff | uchuhimo | xirong -
♓ Pisces scheme: Vi | Acris | Rainy -
♊ Gemini scheme: Ivan. Nginx | Raincal | Dandy
$ cd hexo $ ls _config.yml node_modules package.json public scaffolds source themes
Download latest release version .
$ 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 .
$ 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 clone --branch v5.1.2 https://github.com/iissnan/hexo-theme-next themes/next
Download latest master branch .
$ mkdir themes/next $ curl -L https://api.github.com/repos/iissnan/hexo-theme-next/tarball | tar -zxv -C themes/next --strip-components=1
$ git clone https://github.com/iissnan/hexo-theme-next themes/next
$ cd themes/next $ git tag -l … v5.0.0 v5.0.1 v5.1.0 v5.1.1 v5.1.2
$ 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
$ git checkout master
theme: next
> 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.
$ cd themes/next $ git pull
Commit your changes or stash them before you can merge
Theme configurations using Hexo data files ( #328 )
-
Configurations are splited into two pieces -
Users maybe confuse which place should be for options
-
Please ensure you are using Hexo 3 (or above) -
Create an file named next.yml in site's source/_data directory (create _data directory if it did not exist) -
Copy NexT theme options both in site's _config.yml and theme's _config.yml into next.yml . -
Use --config source/_data/next.yml parameter to start server, generate or deploy.
For example: hexo clean --config source/_data/next.yml && hexo g --config source/_data/next.yml .
language : en
# language: zh-Hans
# language: zh-hk
# language: zh-tw
# language: ru
# language: fr-FR
# language: de
# language: ja
# language: id
# language: pt
# language: pt-BR
# language: ko
# language: it
# language: nl-NL
# language: vi
language : zh-Hans
duoshuo : enable : true
shortname : your-duoshuo-shortname
disqus_shortname : your-disqus-shortname
Add a tags page contains all tags in your site.
-
Create a page named tags hexo new page "tags" -
Edit tags page, set page type to tags . title: All tags date: 2014-12-22 12:39:04 type: "tags" -
Add tags to theme _config.yml : menu: home: / archives: /archives tags: /tags
Add a categories page contains all categories in your site.
-
Create a page named categories hexo new page "categories" -
Edit categories page, set page type to categories . title: All categories date: 2014-12-22 12:39:04 type: "categories" -
Add categories to theme _config.yml : menu: home: / archives: /archives categories: /categories
social : GitHub : your-github-url
Twitter : your-twitter-url
Weibo : your-weibo-url
DouBan : your-douban-url
ZhiHu : your-zhihu-url
Show a feed link.
-
rss: false will totally disable feed link. -
rss: use sites' feed link. This is the default option. Follow the installation instruction in the plugin's README. After the configuration is done for this plugin, the feed link is ready too. -
rss: http://your-feed-url set specific feed link.
# Menu configuration.
menu : home : /
archives : /archives
# Favicon
favicon : /favicon.ico
# Avatar (put the image into next/source/images/)
# can be any image format supported by web browsers (JPEG,PNG,GIF,SVG,..)
avatar : /default_avatar.png
# Code highlight theme
# available: normal | night | night eighties | night blue | night bright
highlight_theme : normal
# Fancybox for image gallery
fancybox : true
# Specify the date when the site was setup
since : two thousand and thirteen
BrowserStack is a cloud-based cross-browser testing tool that enables developers to test their websites across various browsers on different operating systems and mobile devices, without requiring users to install virtual machines, devices or emulators.