Hexo使用

Hexo使用

LuluyLand

创建

1
$ hexo new [layout] <title>

常见的layout:

layout 保存路径
post source/_posts
page source
draft source/_drafts

更多: Writing

运行服务端

1
$ hexo server

更多: Server

生成静态文件

1
$ hexo generate

更多: Generating

部署到Github pages

1
2
3
$ hexo clean
$ hexo generate # 生成静态文件
$ hexo deploy

More info: Deployment

  • 标题: Hexo使用
  • 作者: LuluyLand
  • 创建于 : 2025-04-14 17:10:10
  • 更新于 : 2025-04-20 15:13:30
  • 链接: https://luluy233.github.io/2025/04/14/Hexo使用/
  • 版权声明: 本文章采用 CC BY-NC-SA 4.0 进行许可。
评论