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

Ensures related_posts are only set for a post #4620

Merged

Commits on Mar 1, 2016

  1. Ensures related_posts are only set for a post

    Prior to this change, the related posts for the most recently rendered post
    stayed set on the `site` object. This could result in pages that showed related
    posts even when the page represented an entire collection of posts, such as on
    an index page.  This change restores the functionality from Jekyll V2.
    jeffkole committed Mar 1, 2016
    Copy the full SHA
    67904e8 View commit details
    Browse the repository at this point in the history