Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Latest sort was backwards

  • Loading branch information...
commit 35c0b37089eee960826303e1eb4a0a07fb508a3b 1 parent c74c153
@craveytrain authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  models/post.js
View
2  models/post.js
@@ -23,7 +23,7 @@ function postsByLatest (taxonomyPosts) {
var posts = getPosts(taxonomyPosts);
return posts.sort(function(a, b) {
- return a.date - b.date;
+ return b.date - a.date;
});
}
Please sign in to comment.
Something went wrong with that request. Please try again.