hexo: add new page (#4214)
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com> Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>
This commit is contained in:
28
pages/common/hexo.md
Normal file
28
pages/common/hexo.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# hexo
|
||||
|
||||
> A fast, simple & powerful blog framework.
|
||||
> More information: <https://hexo.io/>.
|
||||
|
||||
- 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`
|
Reference in New Issue
Block a user