Files
cheatsheet-tldr/tldr/hexo
2025-08-17 00:22:45 +00:00

34 lines
520 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# hexo
> A fast, simple & powerful blog framework.
> More information: <https://hexo.io/docs/commands>.
- Initialize a website:
`hexo init {{path/to/directory}}`
- Create a new article:
`hexo new {{layout}} {{title}}`
- Generate static files:
`hexo generate`
- Start a local server:
`hexo server`
- Deploy the website:
`hexo deploy`
- Clean the cache file (`db.json`) and generated files (`public/`):
`hexo clean`