Permalink
Browse files

order

  • Loading branch information...
1 parent b673477 commit 2596328c42fbdfd0c1924d11609ee1dc20d7c262 @lepture lepture committed Apr 12, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 theme.js
View
@@ -202,8 +202,8 @@ function findCategory(pages, cat) {
}
});
ret = ret.sort(function(a, b) {
- a = a || 0;
- b = b || 0;
+ a = a.meta.order || 10;
+ b = b.meta.order || 10;
return parseInt(a, 10) - parseInt(b, 10);
});
return ret;

0 comments on commit 2596328

Please sign in to comment.