Jekyll Site Works Locally But Not on Github Pages

Jekyll site works locally but not on Github Pages

Faced exactly same issue long back and it consumed 2-3 days. Find your main stylesheets (like main.css) and save it to assets folder and commit. This way Github will be copying stylesheet to site built. It usually won't copy :( main.css

Jekyll blog posts not showing up on github pages

If everything is right you will have a message with an information that your server is running afaik.

For example this is my message (note last line):

$ bundle exec jekyll serve
Configuration file: /Users/alexfreik/Documents/GitHub/ltc-webpage/_config.yml
Source: /Users/alexfreik/Documents/GitHub/ltc-webpage
Destination: /Users/alexfreik/Documents/GitHub/ltc-webpage/_site
Incremental build: disabled. Enable with --incremental
Generating...
Jekyll Feed: Generating feed for posts
done in 0.94 seconds.
Auto-regeneration: enabled for '/Users/alexfreik/Documents/GitHub/ltc-webpage'
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.

Do you have this information?

EDIT: The problem was in the incorrectly set pagination.



Related Topics



Leave a reply



Submit