jekyllt / jasper2

Full-featured Jekyll port of Ghost's default theme Casper v2 👻
https://jekyllt.github.io/jasper2/
MIT License
763 stars 659 forks source link

Works fine on local but css does not rendered on github page #87

Closed yifan97 closed 3 years ago

yifan97 commented 5 years ago

When I deploy this to github page there is no styling. I have tried changed to baseurl to my github page sub directory.

chamyeongseop commented 5 years ago

Hello! I had a similar problem like you. Could you exchange baseurl context into "/ "? As you know, There is relational comments. i solved when i write only / on baseurl in _config.yml file.

godsman-yang commented 4 years ago

In that case, baseurl: / then site style is good, but getting favicon.png has error. so, I add url: https://{username}.github.io

--- Error -- GET https://{username}.github.ioassets/images/favicon.png net::ERR_NAME_NOT_RESOLVED -> there is no '/' between https://{username}.github.io(site.url) and assets/images/favicon.png(favicon)

maimanuel commented 4 years ago

what helped me was to use a leading '/' before the assets, for example:

favicon:  /assets/images/favicon.png