下載1
2cd /github/blog
git clone https://github.com/theme-next/hexo-theme-next themes/next
修改 _config.yml
將1
theme: landscape
改成1
theme: next
But….
基本上這樣是渲染不出來的, 因為我們並沒有把 themes/next 的內容加到 git 中, 加上去我也覺得很肥
所以就讓 CI 去做吧
.circleci/config.yml 檔案加上 git clone1
2
3
4- run: npm install
- run: sudo npm install hexo-cli --save -g
- run: sudo npm install hexo-deployer-git --save -g
- run: git clone https://github.com/theme-next/hexo-theme-next themes/next
簡單更換就算完成, 可以去看看結果了
SAM的程式筆記 由朱尚禮製作,以創用CC 姓名標示-非商業性-相同方式分享 4.0 國際 授權條款釋出。