Closed thdoan closed 2 months ago
There's a bug in the nav.menu()
function that will be fixed in the next version of Lume, and will allow to pass the order in the third argument:
nav.menu("/", "", "order=asc")
The order of the pages in the lateral menu works now as expected.
Pages are sorted by order
variable first and filename second.
I saw this code:
menu.vto
However, when I tried to set the
order
, it didn't work as expected.aaa.md
bbb.md
aaa.md is still being displayed first despite setting the
order
to 2. What am I doing wrong?