Skip to content

Commit

Permalink
Revert #2262 Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahDragon committed Apr 20, 2017
1 parent 5134cba commit a6bf141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/generator/post.js
@@ -1,7 +1,7 @@
'use strict';

function postGenerator(locals) {
var posts = locals.posts.sort('date').toArray();
var posts = locals.posts.sort('-date').toArray();
var length = posts.length;

return posts.map(function(post, i) {
Expand Down

0 comments on commit a6bf141

Please sign in to comment.