Skip to content

YingshanGuo/yingshanguo.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog

常用命令

  • hexo generate (hexo g) 生成静态文件,会在当前目录下生成一个新的叫做public的文件夹

  • hexo server (hexo s) 启动本地web服务,用于博客的预览

  • hexo deploy (hexo d) 部署播客到远端(比如github, heroku等平台)

  • $ hexo new "postName" #新建文章

  • $ hexo new page "pageName" #新建页面

常用简写

  • $ hexo n == hexo new
  • $ hexo g == hexo generate
  • $ hexo s == hexo server
  • $ hexo d == hexo deploy

操作步骤

  • hexo clean
  • hexo g
  • hexo s -p 3600
  • hexo d

Releases

No releases published

Packages

No packages published