Ordering of files within _posts folder should be reverse alphabetical #270

Closed
benbalter opened this Issue Dec 10, 2012 · 1 comment

Projects

None yet

2 participants

@benbalter

If using Prose with Jekyll, any path that contains _posts should, by default, be sorted reverse alphabetically, which would sort posts reverse chronologically, the way most users would expect to see them.

The one complication, would be a site that has a _posts folder, with categoried sub folders. The above logic would reverse sort the categories, which would be strange.

Perhaps if the folder contains only files with the format NNNN-NN-NN-xyz reverse sort?

@mikemorris
prose member

This should be easier to implement in the backbone branch using a comparator in Files collection.

@mikemorris mikemorris was assigned Jul 8, 2013
@mikemorris mikemorris added a commit that referenced this issue Jul 11, 2013
@mikemorris mikemorris implementing Files collection comparator for reverse alphabetical ord…
…ering of files in _posts/, closes #270
868e910
@mikemorris mikemorris closed this Jul 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment