Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

order

  • Loading branch information...
commit 2596328c42fbdfd0c1924d11609ee1dc20d7c262 1 parent b673477
@lepture lepture authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 theme.js
View
4 theme.js
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.