Hexo主題報錯

下載了之前寫的git。

npm run server後,提示

WARN  No layout: index.html
搜索了下。
https://github.com/hexojs/hexo/issues/1037
這裏的人的解決辦法是:
git clone https://github.com/hexojs/hexo-theme-landscape.git themes/landscape

然後我用的是butterfly主題,那麼執行

git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly

然後重新啟動就OK了。




Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *