Hello World

茴香豆 Lv5

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
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

常用命令

1
2
3
4
5
6
7
8
hexo new "name"       # 新建文章
hexo new page "name" # 新建页面
hexo g # 生成页面
hexo d # 部署
hexo g -d # 生成页面并部署
hexo s # 本地预览
hexo clean # 清除缓存和已生成的静态文件
hexo help # 帮助
  • Title: Hello World
  • Author: 茴香豆
  • Created at : 2022-06-26 22:00:20
  • Updated at : 2022-06-29 17:04:43
  • Link: https://hxiangdou.github.io/2022/06/26/helloworld/
  • License: This work is licensed under CC BY-NC-SA 4.0.
Comments