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

support to sort posts by modified date #31

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

support to sort posts by modified date #31

wants to merge 3 commits into from

Conversation

modx-space
Copy link

Currently Jekyll sorts all posts by filename of post, this pull request wants to support to sort posts by modified date.

Once user updates his post and the value of modified, this post will be resort.
Case:
created
2015-08-31-post1.md
2015-09-02-post2.md

updated

  • modified 2015-08-31-post1.md
  • updated the value of modified in the post to be 2015-09-03
    Result:
    The 2015-08-31-post1.md will be displayed before 2015-09-02-post2.md

So all the latest updated post will be displayed on the first page.
Please take this into consideration

@stevenli092843
Copy link

good idea

@modx-space
Copy link
Author

Hi all,
could we review this and help to merge it?

~
thanks

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

Successfully merging this pull request may close these issues.

None yet

2 participants