Hexo: deploy to github css not found with gh-pages

Created on 17 Nov 2016  ·  2Comments  ·  Source: hexojs/hexo

I thought this problem cause by the default resource route will point to the dns name,but in github gh-pages the dns will append the repo name.

how to solve this? thanks for reply.
2016-11-17 2 23 30

Most helpful comment

add this in config will work.

url: http://yoursite.com/blog
root: /blog/

All 2 comments

add this in config will work.

url: http://yoursite.com/blog
root: /blog/

For some reason /blog vs /blog/ had a difference for me.

Was this page helpful?
0 / 5 - 0 ratings