Skip to content

maxzhuo/maxzhuo.github.io

Repository files navigation

Hexo logo

Hexo Template

A fast, simple & powerful blog framework, powered by Node.js. Here is the template of it.

Demo | Official Website | Documentation | GitHub

CI/CD

This repository uses GitHub Actions for CI/CD. You don't need to build your documents manually. Just commit your documents (then run git push), and then turn on the GitHub Pages in the settings to access your online documents. (For this demo is https://mmdjiji.github.io/hexo-template)

!!! Attention !!!

There are two lines to modify in _config.yml:

  1. (At line 16) Set your site url here. For example, if you use GitHub Page, set url as https://username.github.io/project:
url: https://jiji.pro/hexo-template
  1. (At line 107) Set your project name here, if your project name is username or username.github.io, just remove it at the end of _config.yml:
root: /hexo-template

If you would not like to do so, it cannot work correctly.

Hexo Features

  • Blazing fast generating
  • Support for GitHub Flavored Markdown and most Octopress plugins
  • One-command deploy to GitHub Pages, Heroku, etc.
  • Powerful API for limitless extensibility
  • Hundreds of themes & plugins

Commands

Install Hexo

$ npm install hexo-cli -g

Install with brew on macOS and Linux:

$ brew install hexo

Setup your blog

$ hexo init blog
$ cd blog

Start the server

$ hexo server

Create a new post

$ hexo new "Hello Hexo"

Generate static files

$ hexo generate

More Information

License

Follows hexojs/hexo , use MIT License.

FOSSA Status

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published