简体   繁体   中英

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?

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?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM