Magi
Magi

Reputation: 272

Jekyll blog posts not showing up on github pages

I've used Jekyll to build my website and it works as intended locally. However, when I deploy my website to github pages, the blog posts no longer show up.

I have consulted a previous question: Jekyll post not generated, but it did not solve my problems.

When I do bundle exec jekyll serve locally, i get the following message

 Incremental build: disabled. Enable with --incremental
      Generating... 
       Jekyll Feed: Generating feed for posts
         AutoPages: Disabled/Not configured in site.config.
        Pagination: Complete, processed 1 pagination page(s)
                    done in 6.303 seconds.

which seem to indicate that everything is working ok. What is the problem?

Upvotes: 3

Views: 1665

Answers (1)

AlexFreik
AlexFreik

Reputation: 145

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.

Upvotes: 2

Related Questions