-(1) delete origiginal your own github.io repository -(2) create the new one -(3) git clone to local -(4) hexo init <folder>, and move the contents into local github.io repository -(5) move your own theme files and confg.yaml file to the proper location -(6) install the node libs what your theme needs to satisfy
- for example, I use the indigo theme, I should run below commands cd <github.io folder> # 主题默认使用 less 作为 css 预处理工具。 npm install hexo-renderer-less --save # 用于生成 rss。 npm install hexo-generator-feed --save # 用于生成静态站点数据,用作站内搜索的数据源。 npm install hexo-generator-json-content --save # 用于生成微信分享二维码。 npm install hexo-helper-qrcode --save # error, hexo d后 ERROR Deployer not found: git npm install --save hexo-deployer-git