Hexo
原文在博客MaxMa
命令
配置
npm install hexo -g //安装
npm update hexo -g //升级
hexo g // = hexo generate 生成
hexo s // = hexo server 本地服务预览
hexo s -p xxxx // 更改本地端口
hexo d // = hexo deploy 部署
*下载了豆瓣插件 即不可使用 hexo dhexo d -g // = hexo g -d 生成后部署
hexo clean //清缓存
博客
hexo new post “xxx”
hexo new page xxx
hexo new photo “xxx”
豆瓣爬取
hexo clean && hexo douban -bgm && hexo g
*-bgm中 b-books 、g-games、m-movies可以只选部分
写作
Post Front-matter
---
title: // 文章标题
dat