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 sort_by 'updated' / 'auto' #489

Closed
wants to merge 2 commits into from
Closed

Add sort_by 'updated' / 'auto' #489

wants to merge 2 commits into from

Conversation

kywk
Copy link

@kywk kywk commented Feb 12, 2014

'updated': 'updated' in post front-matter first, then 'date' in post.
'auto': 'updated' in post front-matter first, then modified time.

'updated': 'updated' in post front-matter first, then 'date' in post.
'auto': 'updated' in post front-matter first, then modified time.
@tommy351
Copy link
Member

I think the posts should be ordered by date by default.

@kywk
Copy link
Author

kywk commented Feb 17, 2014

Ordered by update provides that you can let some post on top for a period or republish some post to top without change date.
If user use date for their permalink, the changes of date will course origin link broken.

@chenall
Copy link
Contributor

chenall commented Feb 23, 2014

个人认为默认应该按发布的日期(date)排序,而不是按更新日期排序。

@kywk
Copy link
Author

kywk commented Feb 25, 2014

Yes, I agree posts should be ordered by date by default.

@aotian16
Copy link

貌似这个代码没有合并掉啊

@Xuanwo
Copy link
Contributor

Xuanwo commented Dec 4, 2015

@kywk Can you rebase your code so that I can merge it into master?

@Xuanwo
Copy link
Contributor

Xuanwo commented Jan 11, 2016

Closed for code struct changed.

@Xuanwo Xuanwo closed this Jan 11, 2016
zhipengyan pushed a commit to zhipengyan/hexo that referenced this pull request Apr 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants