Hexo Update

Hexo Update

This is on Mac Terminal.

Check documentation for more info.

If one get any problems when using Hexo, he can find the answer in troubleshooting or you can ask me on GitHub.

Open terminal and navigate

1
cd /path/to/your/my_blog

Adjust your articles “to _post” folder

  • copy

  • adjust

  • 1
    2
    3
    4
    5
    6
    ---
    title: hello
    cover: https://gcore.jsdelivr.net/gh/flowwalker/PicGo-based-image-host@main/春节!.jpeg
    categories: Gemini
    tags: 操作
    ---

Generate files

1
2
hexo clean
hexo generate

More info: Generating

1
2
hexo server
# preview

More info: Server

1
hexo deploy

More info: Deployment

or short version

1
hexo cl && hexo g && hexo d

Create a new post

1
hexo new "My New Post"

More info: Writing

The end~