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

Certain pages are rendered before all site posts have been processed #71

mislav opened this Issue Jul 19, 2009 · 3 comments


None yet
5 participants

mislav commented Jul 19, 2009

Consider the following site structure:


Due to the recursive nature of Site#transform_pages method, "blog/" directory and pages under it are processed before posts from "category/_posts/" directory have been read. That results in pages under "blog/" having an incomplete list of posts in "site.posts" collection.

I fixed this in mislav/jekyll@9691388

With this patch, all "_posts" directories are processed before execution has even entered transform_pages. This ensures that all posts are indeed read before any of the pages are processed. It also results in a cleaner implementation.


This comment has been minimized.

bentomas commented Oct 22, 2009

I have run into this problem as well. Any chance this could get merged into the main repo?


This comment has been minimized.


krisb commented Jan 5, 2010

I've also fixed this in and added a scenario covering a site with layouts, pages, posts and static files.


This comment has been minimized.


mojombo commented Jan 9, 2010

I've applied krisb's patch and this is released in 0.5.5.

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017

This issue was closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.