From 1d463f27dd9840d41107b1b3385535753a3bdd83 Mon Sep 17 00:00:00 2001 From: Flex Zhong Date: Tue, 28 Jul 2020 22:31:30 +0800 Subject: [PATCH] hexo: add new page (#4214) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Starbeamrainbowlabs Co-authored-by: Zlatan Vasović --- pages/common/hexo.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/hexo.md diff --git a/pages/common/hexo.md b/pages/common/hexo.md new file mode 100644 index 0000000000..521f316720 --- /dev/null +++ b/pages/common/hexo.md @@ -0,0 +1,28 @@ +# hexo + +> A fast, simple & powerful blog framework. +> More information: . + +- 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`