Search code examples
jekyllgithub-pages

Page Formatting Lost When Using GiHub Pages


When I compile my jekyll site and test locally using "jekyll serve" all is fine. But when github compiles it and host it my site looses all formatting. What should I do to prevent this or trobuleshoot this ?

Locally Hosted (Jekyll Serve) - Good Local Site (Good) **GiHub Hosted (Jekyll) - Lost Formatting, Moved to Left ** Remote Site (Bad)


Solution

  • Looks like the file is at https://sachin-gupta.github.io/css/main.css

    /assets/main.scss does not exist, so what source file would be generating https://sachin-gupta.github.io/assets/main.css? Have you committed everything?