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

Allows `dateField` to be passed as an option #11

Merged
merged 1 commit into from Oct 6, 2019

Conversation

@samdbeckham
Copy link

commented Oct 5, 2019

My posts weren't sorting correctly so after digging into it realised it's because they didn't have a date field. I was generating them a little more granularly with createdAt, publishedAt, and updatedAt.

I added a dateField option to the config so I could pass in publishedDate instead of relying on the default date to sort the posts by.

@darthmeme

This comment has been minimized.

Copy link
Owner

commented Oct 6, 2019

LGTM 👍

@darthmeme darthmeme merged commit ba542f7 into darthmeme:master Oct 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.