Skip to content

iissnan/hexo-theme-next

Repository files navigation

NexT

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

Live Preview | 中文文档

Screenshots

Desktop Preview | Mobile Preview

Installation

  1. Get it from GitHub

     $ git clone https://github.com/iissnan/hexo-theme-next themes/next
    
  2. Add it to _config.yml

     theme: next
    

Update

cd theme/next
git pull

Features

  1. English/Simple Chinese language support.

    Default language is English. Set languages field as following in site _config.yml to change to Chinese.

     languages: zh-Hans
    
  2. DuoShuo comment support.

    Add duoshuo field to site _config.yml. For instance

     duoshuo:
       enable: true
       shortname: duoshuo-shortname
    
  3. Tags page.

    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
      

Configuration

NexT comes with few configurations.


# Menu configuration.
menu:
  home: /
  archives: /archives

# Favicon
favicon: /favicon.ico

# 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: 2013

TODO

  • Using Swig instead of jade.
  • Using SCSS instead of stylus (depends?).
  • Rewrite link post related stuffs (Breaking changes).
  • Redesign pagination for mobile devices.
  • Support category.(Won't support).
  • Support gallery posts.
  • Make PAJAX and NProgress as optional. (Removed, conflicts with fancybox)
  • Refactor.
  • i18n.
  • How to use this theme.
  • Publish as a bower package.
  • Home page.

hexo-image bower-image jquery-image