:::
6-4 安裝佈景
- 佈景:https://hexo.io/themes/
- 安裝 https://github.com/jerryc127/hexo-theme-butterfly 的佈景
git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/Butterfly - 修改設定檔
_config.yml# Extensions ## Plugins: https://hexo.io/plugins/ ## Themes: https://hexo.io/themes/ theme: Butterfly - 安裝渲染器
npm install hexo-renderer-jade hexo-renderer-stylus --save - 如果要在localhost測試,記得先Ctrl+C停止內建伺服器,再重新啟動伺服器,新佈景才會生效:
hexo s
6-3 將 Hexo放上GitHub