blog/_posts/hello-world.md

39 lines
613 B
Markdown
Raw Normal View History

2022-10-12 01:32:19 +00:00
---
title: Hello World
---
2023-11-20 07:29:08 +00:00
欢迎光临[hexo](https://hexo.io/)!这是你的第一篇文章。
2022-10-12 01:32:19 +00:00
2023-11-20 07:29:08 +00:00
## 快速入门
2022-10-12 01:32:19 +00:00
2023-11-20 07:29:08 +00:00
### 创建一篇文章
2022-10-12 01:32:19 +00:00
``` bash
2023-11-20 07:29:08 +00:00
hexo new "My New Post"
2022-10-12 01:32:19 +00:00
```
2023-11-20 07:29:08 +00:00
更多参考: [Writing](https://hexo.io/zh-cn/docs/writing.html)
2022-10-12 01:32:19 +00:00
2023-11-20 07:29:08 +00:00
### 启动服务
2022-10-12 01:32:19 +00:00
``` bash
2023-11-20 07:29:08 +00:00
hexo server
2022-10-12 01:32:19 +00:00
```
2023-11-20 07:29:08 +00:00
更多参考: [Server](https://hexo.io/zh-cn/docs/server.html)
2022-10-12 01:32:19 +00:00
2023-11-20 07:29:08 +00:00
### 生成静态文件
2022-10-12 01:32:19 +00:00
``` bash
2023-11-20 07:29:08 +00:00
hexo generate
2022-10-12 01:32:19 +00:00
```
2023-11-20 07:29:08 +00:00
更多参考: [Generating](https://hexo.io/zh-cn/docs/generating.html)
2022-10-12 01:32:19 +00:00
2023-11-20 07:29:08 +00:00
### 发布到发远程站点
2022-10-12 01:32:19 +00:00
``` bash
2023-11-20 07:29:08 +00:00
hexo deploy
2022-10-12 01:32:19 +00:00
```
2023-11-20 07:29:08 +00:00
更多参考: [Deployment](https://hexo.io/zh-cn/docs/one-command-deployment.html)