ppoffice / hexo-theme-hueman

A redesign of Alx's wordpress theme Hueman, ported to Hexo.
http://ppoffice.github.io/hexo-theme-hueman/
GNU General Public License v2.0
1.17k stars 335 forks source link

在本地端开启没有问题,但是放到gh-pages就出现问题了 #151

Closed vthwang closed 7 years ago

vthwang commented 7 years ago

以前不会,不知道什么时候出现问题的。

2016-11-03 3 05 19

ppoffice commented 7 years ago

@TingSyuanWang 请尝试删除gh-pages后重新Deploy到GitHub,可能是上次部署的时候文件上传不完全造成的。

vthwang commented 7 years ago

@ppoffice 是把整个branch删除吗?

vthwang commented 7 years ago

@ppoffice 重新部署过了,删掉branch也不行〜 再拜托您看看了!

vthwang commented 7 years ago

有可能跟node或是hexo版本有关系吗?

zippoobbiz commented 7 years ago

需要添加一个.noJekyll文件在你repository的根目录下 可以参考http://philsblog.info/2016/09/04/Github-Pages-cannot-get-access-to-vendor-folder-when-using-hexo/

ppoffice commented 7 years ago

@TingSyuanWang @zippoobbiz 现在使用hexo generate可以直接在public目录下生成.nojekyll文件,但由于hexo-deploy-git这个Hexo插件会忽略.开头的文件,所以直接使用hexo deploy仍然不能将.nojekyll文件部署到GitHub上。现在的解决方法是手动部署public目录下的文件。我会向Hexo提一个PR,但不能保证一定会Merge。

ppoffice commented 7 years ago

已经重命名vendor文件夹,不用考虑上述问题了。。。

zippoobbiz commented 7 years ago

well done

espumita commented 7 years ago

Thanks!

vthwang commented 7 years ago

Thanks