初始化hexo
hexo init安装依赖
L..o..a..d..i..n..g…npm install 有时安装不成功,可以用 sudo npm install配置_config.yml达成自定
title: ***** subtitle:***** description:***** author: ***** language:***** timezone:*****如果想发布到GITHUB上,配置如下,详情见http://pages.github.com
deploy: type: git repo: https://github.com/******/******.github.io branch: master创建文章
hexo new layout "your articlehexo name" layout 可不填写,自取默认值 写文章的话要用markdown,以前木有接触过,也是现学现用的生成静态文件
hexo generate发布
hexo deployOK