huweihuang / hexo-theme-huweihuang

Ported theme of Hux Blog by YuHsuan, Modified by Hu Weihuang
http://www.huweihuang.com/
Apache License 2.0
283 stars 105 forks source link

hexo g生成之后,在public里面没有css文件,在本地hexo server启动服务之后,只有文字,没有样式,F12看控制台提示没有加载到style.css文件 #20

Open Zhucong123 opened 5 years ago

lonbaw commented 5 years ago

+1

lonbaw commented 5 years ago

找到原因了,作者其实把整个hexo程序放在了该github 仓库内,而不单单是主题。 出现这个报错的原因是:我们clone之后,把它当成主题,放到了 theme目录下

SinMu-L commented 1 year ago

在项目的根目录下重新执行 git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly 然后再 hexo g && hexo clean && hexo d 就可以了