Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The 'Posts' page is not populating with posts #247

Closed
swedishmike opened this issue Sep 18, 2020 · 1 comment
Closed

The 'Posts' page is not populating with posts #247

swedishmike opened this issue Sep 18, 2020 · 1 comment

Comments

@swedishmike
Copy link

I've followed the setup instructions on this page and have taken the index.html page from the posts subdirectory on this page.

When I run bundle exec jekyll serve I get the following output:

Configuration file: /home/mike/Projects/swedishmike.github.io/_config.yml
            Source: /home/mike/Projects/swedishmike.github.io
       Destination: /home/mike/Projects/swedishmike.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
       Jekyll Feed: Generating feed for posts
                    done in 0.385 seconds.
 Auto-regeneration: enabled for '/home/mike/Projects/swedishmike.github.io'
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.

If I then visit the 'landing page' I can see my posts there, but if I visit the Posts page all I see is the title of the page, social icons and so on. There is no list of posts at all.

I've tried using the samples from the initial build, have copied in the posts from this demo repo and everything. Nothing seems to happen.

Is there any form of debugging I can enable to see what's going wrong or is there some logs that I can look at?

Thanks in advance

@swedishmike
Copy link
Author

Found the problem. Seems that some of the settings in _config.yml and Gemfile was incorrect. Seems to have been missing stuff like:

markdown:           kramdown
paginate:           5
paginate_path:      "/posts/page:num/"
plugins:
  - jekyll-feed
  - jekyll-paginate
  - jekyll-sitemap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant