LinuxCommandLibrary

hexo

A fast, simple & powerful blog framework.

TLDR

Initialize a website

$ hexo init [path/to/directory]
copy


Create a new article
$ hexo new [layout] [title]
copy


Generate static files
$ hexo generate
copy


Start a local server
$ hexo server
copy


Deploy the website
$ hexo deploy
copy


Clean the cache file (db.json) and generated files (public/)
$ hexo clean
copy

Copied to clipboard