Hexo blog framework

Hexo is based nodejs a static blog site builder, blog is a framework. The author is Taiwanese

 

Articles are .md format
 

Official website:

https://hexo.io/zh-cn/

Tell me what network-related operations and more


installation

$ cnpm install hexo-cli -g

 

initialization

$ hexo init hxxBlog

Many people use the Internet, said an administrator to open, but did not use it the ok

 

Installation depends / Update

$ cd hxxBlog
$ npm install

 

start up

hexo server -p 5555

或

hexo s -p 5555

 

Content page displayed

hxxBlog\source\_posts\hello-world.md

 

New Articles

$ hexo new "我的第一篇文章"
或
$ hexo n "我的第一篇文章"

edit

Back to the next blog directory

First clean up what (clean is to remove the cache files (db.json) and generated static files (public))

$ hexo clean

Generate static files

$ hexo generate
或
$ hexo g

 

It gave the archive to find the 2020/04/01

Start again

 

 

Configuration Other topics

https://github.com/theme-next/hexo-theme-next/blob/master/docs/INSTALLATION.md

 

Deployed to github

 

 

Published 442 original articles · won praise 188 · views 190 000 +

Guess you like

Origin blog.csdn.net/hxxjxw/article/details/105249643