$ hexo new [layout] <titlename> (ex. hexo new "My New Post")
More info at Writing
$ hexo s -g
$ hexo d -g
Host an image by Google Drive or ImageShack
- Upload your image to your google drive.
- Change link sharing to public on the web.
- Copy the sharing link and transfer it by gdURL.
Add webcounter by Webcounter or Busuanzi
Get rid of
DeprecationWarning: fs.SyncWriteStream is deprecated.
npm install hexo-fs --save
this will upgrade the plugin hexo-fs. if this is not working, try to debug use
hexo clean --debug
The error appears at hexo-deployer-git, open the plugin, and comment the line
# exports.SyncWriteStream = fs.SyncWriteStream;
at line 718 of file
fs.js located at