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

Add the "order_by" option (resolve #6) #23

Merged
merged 1 commit into from Jul 10, 2019
Merged

Add the "order_by" option (resolve #6) #23

merged 1 commit into from Jul 10, 2019

Conversation

@lulzneko
Copy link
Contributor

@lulzneko lulzneko commented Jun 28, 2019

Add the "order_by" option.
Like hexo-generator-archive and hexo-generator-index.

This pull request resolve #6

@coveralls
Copy link

@coveralls coveralls commented Jun 28, 2019

Coverage Status

Coverage remained the same at 100.0% when pulling f5fc7df on lulzneko:pr-add-orderby into b9735a7 on hexojs:master.

@curbengh
Copy link
Contributor

@curbengh curbengh commented Jul 6, 2019

@lulzneko @NanerLee
I'm not familiar with "order_by". If I set "+date", the output should be ascending date sorted (old to new)?

Edit: Just tested '+date', it works.

@curbengh
Copy link
Contributor

@curbengh curbengh commented Jul 9, 2019

@yoshinorin
ok to merge?

@yoshinorin
Copy link
Member

@yoshinorin yoshinorin commented Jul 10, 2019

Thanks @lulzneko ;)

@weyusi
Yes. Feel free to merge this PR :)

@curbengh curbengh merged commit 091db48 into hexojs:master Jul 10, 2019
2 checks passed
@yoshinorin yoshinorin added this to the v1.0.0 milestone Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

4 participants