A fast, simple & powerful blog framework, powered by Node.js. Here is the template of it.
Demo | Official Website | Documentation | GitHub
This repository uses GitHub Actions for continuous deployment. 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)
Please always maintain this because I used sub path, if you don't need, just remove it at the end of _config.yml
:
root: /hexo-template
If you need to deploy with a sub path, modify the code at the end of _config.yml
:
root: /{Your project name}
For example, my project is mmdjiji/hexo-template, so I will add the following code at the end of _config.yml
:
root: /hexo-template
If you would not like to do so, it cannot work correctly.
- 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
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
- Read the documentation
- Visit the Awesome Hexo list
- Find solutions in troubleshooting
- Join discussion on Google Group, Discord, Gitter or Telegram
- See the plugin list and the theme list on wiki
- Follow @hexojs for latest news
Follows hexojs/hexo , use MIT License.