GithubHelp home page GithubHelp logo

hartl3y94 / hexo-theme-next Goto Github PK

View Code? Open in Web Editor NEW

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

0.0 0.0 0.0 1.35 MB

🎉 Elegant and powerful theme for Hexo.

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

License: Other

JavaScript 41.66% Stylus 37.48% Nunjucks 20.86%

hexo-theme-next's Introduction

Language: 🇺🇸 🇨🇳 🇷🇺
NexT preview

NexT logo

NexT

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

NPM version Required Hexo version License Build Status Build Status Coverage Status

Live Preview

💟 Muse | 🔯 Mist | ♓️ Pisces | ♊️ Gemini

More «NexT» examples here.

Installation

If you're using Hexo 5.0 or later, the simplest way to install is through npm:

$ cd hexo-site
$ npm install hexo-theme-next

Or you can clone the entire repository:

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

See detailed installation instructions if you want any other variant.

After the installation, open Hexo config file and set theme variable to next.

theme: next

Configuration

It is not recommended to directly modify any files in the NexT theme. Because this may cause errors (e.g. merge conflicts), and the modified files may be discarded when upgrading the theme.

At present, NexT encourages users to use the Alternate Theme Config to configure NexT. And it's easy to customize the layout or style of NexT using Custom Files.

Plugins

Plugins extend and expand the functionality of NexT. There are two types of plugins: core plugins and third-party plugins. The core plugins are required by the basic functions of NexT. Third-party plugins provide a large number of optional features.

Configuring these plugins is very easy. For example, if you want to enable pjax on your site, just set pjax to true in NexT config file:

# Easily enable fast Ajax navigation on your website.
# For more information: https://github.com/next-theme/pjax
pjax: true

Configure CDN

Third-party plugins are loaded from CDNJS CDN by default. We also provide other optional CDNs, including the famous UNPKG and jsDelivr.

For example, if you want to use unpkg instead of cdnjs as the default CDN provider, you need to edit the following settings in NexT config file:

vendors:
  # ...
  # Some contents...
  # ...
  plugins: unpkg

Update

A new version of NexT will be released every month. Please read the release notes before updating the theme. You can update NexT by the following command.

Install the latest version throuth npm:

$ cd hexo-site
$ npm install hexo-theme-next@latest

Or update to the latest master branch:

$ cd themes/next
$ git pull

If you want to update from v5.x / v7.x to the latest version, read this.

Feedback

Contributing

We welcome you to join the development of NexT. Please see contributing document. 🤗

Also, we welcome Issue or PR to our official-plugins.

Contributors

Contributors

Thanks

«NexT» send special thanks to these great services that sponsor our core infrastructure:

GitHub allows us to host the Git repository and run the test suite.

Netlify Logo

Netlify allows us to distribute the documentation.

Crowdin allows us to translate conveniently the documentation.

CDNJS Logo

Thanks CDNJS for providing public CDN service.

hexo-theme-next's People

Contributors

1v9 avatar 799953468 avatar bytemain avatar chenyahui avatar code004accepted avatar foliet avatar gapplef avatar hushanjushi avatar iamapig120 avatar iamkyun avatar icpz avatar kenschwartz avatar leirock avatar lgtm-com[bot] avatar liucan233 avatar ljcbaby avatar njzjz avatar no5972 avatar paperstrike avatar peaceiris avatar renbaoshuo avatar renovate[bot] avatar stevenjoezhang avatar tisonkun avatar tusooa avatar wasi-master avatar yanickxia 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.