tldr/pages.zh/common/hexo.md

29 lines
421 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# hexo
> 快速、简洁且高效的博客框架。
> 更多信息: <https://hexo.io/>.
- 初始化一个网站:
`hexo init {{path/to/directory}}`
- 创建一篇新文章:
`hexo new {{layout}} {{title}}`
- 构建静态文件:
`hexo generate`
- 启动本地服务器:
`hexo server`
- 部署网站:
`hexo deploy`
- 清理缓存文件(`db.json`)和生成的文件(`public/`
`hexo clean`