How to add a new post on hexo blog

StoneHoo Lv4

This is a test post from my new blog, still working on it.
这是我的 hexo 博客的第一个测试文章,希望可以正常运行。
一格


title: Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
2
$ hexo clean && hexo s
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
2
$ hexo d 
$ hexo deploy

After deployed, push the change to the github repo

1
2
3
git add .
git commit -m "new post added"
git push

More info: Deployment

  • Title: How to add a new post on hexo blog
  • Author: StoneHoo
  • Created at : 2023-12-17 15:45:16
  • Updated at : 2026-01-29 05:38:08
  • Link: https://www.ozak.ca/2023/12/17/How-to-add-a-new-post-on-Hexo-blog/
  • License: This work is licensed under CC BY-NC-SA 4.0.
Comments