projects
/
web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more careful sorting of the menu; readme generator more failure-resistant; add missin...
[web.git]
/
_plugins
/
menu.rb
diff --git
a/_plugins/menu.rb
b/_plugins/menu.rb
index 98614b76616cca1f285c00df29ab1666a958a5b6..befe357a3e318861f34f641398618791afa2a973 100644
(file)
--- a/
_plugins/menu.rb
+++ b/
_plugins/menu.rb
@@
-30,7
+30,7
@@
module Jekyll
end
end
# sort the result before returning it
- result.sort_by { |a|
a['url'
] }
+ result.sort_by { |a|
[a['sort'], a['url']
] }
end
create_menu(input, "", displayurl.sub('/index.html', ''))