$ hexo init blog #blog is the folder to contains all hexo related files $ cd blog $ npm install $ git clone https://github.com/wzpan/hexo-theme-freemind.git themes/freemind
Install hexo admin
npm install –save hexo-admin
Update site and theme _config.yml:
site._config.yml
title:Calvin'sHome subtitle: description: author:CalvinYiu email:calvin.ypn@gmail.com language:default timezone:Asia/Hong_Kong ... i18n_dir::lang ... theme:freemind# Use freemind as the theme ... deploy: type:git repo:https://github.com/pnyiu/pnyiu.github.io.git
Copy the above two files to \themes\freemind\source\js (substitute freemind to match your theme folder name)
If you choose to use the files saved locally, then you have to modify site _config.yml:
_config.yml
flowchart: raphael:/js/raphael.js# optional, the source url of raphael.js flowchart:/js/flowchart.js# optional, the source url of flowchart.js options:# options used for `drawSVG`