Giter Site home page Giter Site logo

maxiaoding / hexo-theme-next Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theme-next/hexo-theme-next

0.0 1.0 0.0 1.11 MB

Elegant and powerful theme for Hexo.

Home Page: https://theme-next.org

License: Other

CoffeeScript 0.75% JavaScript 43.78% CSS 55.47%

hexo-theme-next's Introduction

Language: 🇺🇸 🇨🇳 🇷🇺

e x T

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

gitter-image riot-image t-chat-image t-news-image lang-image travis-image rel-image hexo-image lic-image

Live Preview

More «NexT» examples here.

Installation

Simplest way to install is by cloning whole repository:

$ cd hexo
$ git clone https://github.com/theme-next/hexo-theme-next themes/next

Or you can see detailed installation instructions if you want any other variant.

Plugins

In NexT config now you can find dependencies on each module which was moved to external repositories which can be found by main organization link.

For example, you want to use fancybox in your site. Go to NexT config and see:

# Fancybox
# Dependencies: https://github.com/theme-next/theme-next-fancybox
fancybox: false

Then turn on fancybox and go to «Dependencies» link with installation instructions of this module.

Exceptions

If you use cdn for any plugins, you need to replace your cdn link.

For example, you want to use fancybox and you configured a cdn link. Go to NexT config and see:

vendors:
  # ...
  # Some contents...
  # ...
  fancybox: # Set or update fancybox cdn url.
  fancybox_css: # Set or update fancybox cdn url.

Instead of defining main organization link for updates.

Update

You can update to latest master branch by the following command:

$ cd themes/next
$ git pull

And if you see any error message during update (something like «Commit your changes or stash them before you can merge»), recommended to learn Hexo data files feature.
Howbeit, you can bypass update errors by Commit, Stash or Discard local changes. See here how to do it.

If you want to update from v5.1.x to v6.0.x, read here.

Known Bugs

For those who also encounter «Error: Cannot find module 'hexo-util'», 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.

Contributing

Contribution is welcome, feel free to open an issue and fork. Waiting for your pull request.

Third party applications

hexo-theme-next's People

Contributors

ivan-nginx avatar wafer-li avatar tsanie avatar leaferx avatar maple3142 avatar blealtan-bot avatar safeeval avatar raincal avatar xu-song avatar geekrainy avatar zhuzhuyule avatar kuleyu avatar albert-gao avatar ywjno avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.