eleventy-navigation
eleventy-navigation copied to clipboard
change sorting
allow better sorting. pages that have an order command are now always first, not last. this will fix #1
I am no javascript specialist. hope the code change is fine. i am aware that maybe the syntax can be made easier, but I don't know how this can be done. I have tested everything on my local environment and it looks fine and do what it needs.
@zachleat Can you please merge?
@zachleat, can you please merge? I heavily depend on this PR and the upcoming release :)
@zachleat Please merge this ASAP as I need this in my project. Thanks